home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-07-19 | 471.1 KB | [ STAK/WILD]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
100%
dexvert
HyperCard Stack (archive/hypercard)
idMeta
Supported
1%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
100%
file
MacBinary II, inited, Sat Nov 2 09:12:57 1991, modified Sun Jul 19 04:53:33 1992, creator HyperCard, type HyperCard stack, 123008 bytes "WindowScript� 1.0 Working Model" , at 0x1e100 359257 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Mac HyperCard stack (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
dearkID
deark: macbinary
default
100%
siegfried
fmt/1762 MacBinary (II)
default
50%
lsar
MacBinary
default
id metadata key value macFileType [ STAK] macFileCreator [ WILD]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 1f 57 69 6e 64 6f 77 | 53 63 72 69 70 74 aa 20 |..Window|Script. | |00000010| 31 2e 30 20 57 6f 72 6b | 69 6e 67 20 4d 6f 64 65 |1.0 Work|ing Mode| |00000020| 6c 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |l.......|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......| |00000050| 00 00 00 00 01 e0 80 00 | 05 7b 59 a5 38 62 e9 a6 |........|.{Y.8b..| |00000060| 8e de 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 da 79 00 00 |........|.....y..| |00000080| 00 00 72 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..r.STAK|........| |00000090| 00 00 00 0a 00 01 e0 80 | 00 00 72 00 00 00 00 00 |........|..r.....| |000000a0| 00 00 00 00 00 00 00 01 | 00 00 11 a4 00 00 00 0f |........|........| |000000b0| 00 00 08 50 00 00 13 1e | 00 00 00 00 00 00 00 00 |...P....|........| |000000c0| 00 00 0f b5 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........| |000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000000e0| 02 01 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........| |000000f0| 1a 6a af 04 00 00 00 00 | 00 6c 00 80 01 74 02 00 |.j......|.l...t..| |00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........| |00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000230| 00 00 0d 5b 00 00 0c a8 | 01 08 01 80 00 00 00 00 |...[....|........| |00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........| |00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""| |00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.| |00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........| |00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........| |00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........| |000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.| |000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......| |000003c0| ff 00 ff 00 ff 00 ff 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"| |000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.| |000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U| |000003f0| 55 aa 55 aa 55 aa 55 aa | 82 44 39 44 82 01 01 01 |U.U.U.U.|.D9D....| |00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....| |00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........| |00000420| 88 00 00 00 80 00 00 00 | a2 9c 41 be 2a c9 14 eb |........|..A.*...| |00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....| |00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........| |00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........| |00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........| |00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P| |00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000680| 6f 6e 20 62 61 72 43 68 | 61 6e 67 65 73 20 77 0d |on barCh|anges w.| |00000690| 69 66 20 77 3d 22 49 22 | 20 74 68 65 6e 20 70 75 |if w="I"| then pu| |000006a0| 74 20 22 57 69 6e 64 6f | 77 c9 22 20 61 66 74 65 |t "Windo|w." afte| |000006b0| 72 20 6d 65 6e 75 20 22 | 45 64 69 74 22 20 77 69 |r menu "|Edit" wi| |000006c0| 74 68 20 6d 65 6e 75 4d | 73 67 20 22 64 6f 57 69 |th menuM|sg "doWi| |000006d0| 6e 64 6f 77 22 0d 65 6c | 73 65 20 69 66 20 77 3d |ndow".el|se if w=| |000006e0| 22 52 22 20 74 68 65 6e | 0d 69 66 20 74 68 65 72 |"R" then|.if ther| |000006f0| 65 20 69 73 20 61 20 6d | 65 6e 75 69 74 65 6d 20 |e is a m|enuitem | |00000700| 22 57 69 6e 64 6f 77 c9 | 22 20 6f 66 20 6d 65 6e |"Window.|" of men| |00000710| 75 20 22 45 64 69 74 22 | 0d 74 68 65 6e 20 64 65 |u "Edit"|.then de| |00000720| 6c 65 74 65 20 6d 65 6e | 75 69 74 65 6d 20 22 57 |lete men|uitem "W| |00000730| 69 6e 64 6f 77 c9 22 20 | 6f 66 20 6d 65 6e 75 20 |indow." |of menu | |00000740| 22 45 64 69 74 22 0d 65 | 6e 64 20 69 66 0d 65 6e |"Edit".e|nd if.en| |00000750| 64 20 62 61 72 43 68 61 | 6e 67 65 73 0d 6f 6e 20 |d barCha|nges.on | |00000760| 72 65 73 65 74 20 77 0d | 67 6c 6f 62 61 6c 20 50 |reset w.|global P| |00000770| 50 0d 69 66 20 77 3d 22 | 6d 65 6e 75 62 61 72 22 |P.if w="|menubar"| |00000780| 20 74 68 65 6e 0d 73 65 | 6e 64 20 74 68 65 20 70 | then.se|nd the p| |00000790| 61 72 61 6d 73 20 74 6f | 20 48 79 70 65 72 43 61 |arams to| HyperCa| |000007a0| 72 64 0d 69 66 20 50 50 | ad 22 22 20 74 68 65 6e |rd.if PP|."" then| |000007b0| 0d 62 61 72 43 68 61 6e | 67 65 73 20 22 49 22 0d |.barChan|ges "I".| |000007c0| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 70 61 73 73 |end if.e|lse pass| |000007d0| 20 72 65 73 65 74 0d 65 | 6e 64 20 72 65 73 65 74 | reset.e|nd reset| |000007e0| 0d 6f 6e 20 53 74 6f 70 | 41 6c 65 72 74 20 6d 2c |.on Stop|Alert m,| |000007f0| 62 0d 69 66 20 62 3d 22 | 22 20 74 68 65 6e 20 70 |b.if b="|" then p| |00000800| 75 74 20 22 4f 4b 22 20 | 69 6e 74 6f 20 62 0d 67 |ut "OK" |into b.g| |00000810| 65 74 20 57 69 6e 64 6f | 77 53 63 72 69 70 74 28 |et Windo|wScript(| |00000820| 22 53 74 6f 70 22 2c 6d | 2c 62 29 0d 65 6e 64 20 |"Stop",m|,b).end | |00000830| 73 74 6f 70 41 6c 65 72 | 74 0d 6f 6e 20 62 6f 6e |stopAler|t.on bon| |00000840| 6b 20 77 0d 67 6c 6f 62 | 61 6c 20 67 4c 61 73 74 |k w.glob|al gLast| |00000850| 42 65 65 70 0d 70 75 74 | 20 77 20 69 6e 74 6f 20 |Beep.put| w into | |00000860| 67 4c 61 73 74 42 65 65 | 70 0d 62 65 65 70 0d 65 |gLastBee|p.beep.e| |00000870| 6e 64 20 62 6f 6e 6b 0d | 6f 6e 20 63 6c 6f 73 65 |nd bonk.|on close| |00000880| 53 74 61 63 6b 0d 70 75 | 74 20 74 68 65 20 77 69 |Stack.pu|t the wi| |00000890| 6e 64 6f 77 73 20 69 6e | 74 6f 20 77 4c 69 73 74 |ndows in|to wList| |000008a0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 3d 6e |.repeat |with x=n| |000008b0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i| |000008c0| 6e 20 77 4c 69 73 74 20 | 64 6f 77 6e 20 74 6f 20 |n wList |down to | |000008d0| 31 0d 67 65 74 20 77 73 | 47 65 74 28 6c 69 6e 65 |1.get ws|Get(line| |000008e0| 20 78 20 6f 66 20 77 4c | 69 73 74 2c 78 53 74 61 | x of wL|ist,xSta| |000008f0| 63 6b 4e 61 6d 65 29 0d | 69 66 20 69 74 ad 22 22 |ckName).|if it.""| |00000900| 20 61 6e 64 20 69 74 20 | 69 73 20 69 6e 20 6c 6f | and it |is in lo| |00000910| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 74 |ng name |of the t| |00000920| 61 72 67 65 74 0d 74 68 | 65 6e 20 63 6c 6f 73 65 |arget.th|en close| |00000930| 20 77 69 6e 64 6f 77 20 | 6c 69 6e 65 20 78 20 6f | window |line x o| |00000940| 66 20 77 4c 69 73 74 0d | 65 6e 64 20 72 65 70 65 |f wList.|end repe| |00000950| 61 74 0d 70 61 73 73 20 | 63 6c 6f 73 65 53 74 61 |at.pass |closeSta| |00000960| 63 6b 0d 65 6e 64 20 63 | 6c 6f 73 65 53 74 61 63 |ck.end c|loseStac| |00000970| 6b 0d 6f 6e 20 73 75 73 | 70 65 6e 64 53 74 61 63 |k.on sus|pendStac| |00000980| 6b 0d 70 75 74 20 74 68 | 65 20 77 69 6e 64 6f 77 |k.put th|e window| |00000990| 73 20 69 6e 74 6f 20 77 | 4c 69 73 74 0d 72 65 70 |s into w|List.rep| |000009a0| 65 61 74 20 77 69 74 68 | 20 78 3d 6e 75 6d 62 65 |eat with| x=numbe| |000009b0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 77 4c |r of lin|es in wL| |000009c0| 69 73 74 20 64 6f 77 6e | 20 74 6f 20 31 0d 67 65 |ist down| to 1.ge| |000009d0| 74 20 77 73 47 65 74 28 | 6c 69 6e 65 20 78 20 6f |t wsGet(|line x o| |000009e0| 66 20 77 4c 69 73 74 2c | 78 53 74 61 63 6b 4e 61 |f wList,|xStackNa| |000009f0| 6d 65 29 0d 69 66 20 69 | 74 ad 22 22 20 61 6e 64 |me).if i|t."" and| |00000a00| 20 69 74 20 69 73 20 69 | 6e 20 6c 6f 6e 67 20 6e | it is i|n long n| |00000a10| 61 6d 65 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ame of t|he targe| |00000a20| 74 20 74 68 65 6e 0d 77 | 73 53 65 74 20 6c 69 6e |t then.w|sSet lin| |00000a30| 65 20 78 20 6f 66 20 77 | 4c 69 73 74 2c 22 56 49 |e x of w|List,"VI| |00000a40| 53 49 42 4c 45 22 2c 46 | 41 4c 53 45 0d 6f 75 63 |SIBLE",F|ALSE.ouc| |00000a50| 68 62 62 20 30 2c 6c 69 | 6e 65 20 78 20 6f 66 20 |hbb 0,li|ne x of | |00000a60| 77 4c 69 73 74 2c 30 2c | 6c 69 6e 65 20 78 20 6f |wList,0,|line x o| |00000a70| 66 20 77 4c 69 73 74 2c | 22 53 55 53 50 45 4e 44 |f wList,|"SUSPEND| |00000a80| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |".end if|.end rep| |00000a90| 65 61 74 0d 70 61 73 73 | 20 73 75 73 70 65 6e 64 |eat.pass| suspend| |00000aa0| 53 74 61 63 6b 0d 65 6e | 64 20 73 75 73 70 65 6e |Stack.en|d suspen| |00000ab0| 64 53 74 61 63 6b 0d 6f | 6e 20 72 65 73 75 6d 65 |dStack.o|n resume| |00000ac0| 53 74 61 63 6b 0d 70 75 | 74 20 74 68 65 20 77 69 |Stack.pu|t the wi| |00000ad0| 6e 64 6f 77 73 20 69 6e | 74 6f 20 77 4c 69 73 74 |ndows in|to wList| |00000ae0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 3d 6e |.repeat |with x=n| |00000af0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i| |00000b00| 6e 20 77 4c 69 73 74 20 | 64 6f 77 6e 20 74 6f 20 |n wList |down to | |00000b10| 31 0d 67 65 74 20 77 73 | 47 65 74 28 6c 69 6e 65 |1.get ws|Get(line| |00000b20| 20 78 20 6f 66 20 77 4c | 69 73 74 2c 78 53 74 61 | x of wL|ist,xSta| |00000b30| 63 6b 4e 61 6d 65 29 0d | 69 66 20 69 74 ad 22 22 |ckName).|if it.""| |00000b40| 20 61 6e 64 20 69 74 20 | 69 73 20 69 6e 20 6c 6f | and it |is in lo| |00000b50| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 74 |ng name |of the t| |00000b60| 61 72 67 65 74 0d 74 68 | 65 6e 20 77 73 53 65 74 |arget.th|en wsSet| |00000b70| 20 6c 69 6e 65 20 78 20 | 6f 66 20 77 4c 69 73 74 | line x |of wList| |00000b80| 2c 22 56 49 53 49 42 4c | 45 22 2c 74 72 75 65 0d |,"VISIBL|E",true.| |00000b90| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 61 73 73 20 |end repe|at.pass | |00000ba0| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 65 6e 64 20 |resumeSt|ack.end | |00000bb0| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 6f 6e 20 69 |resumeSt|ack.on i| |00000bc0| 6e 73 74 61 6c 6c 57 53 | 20 76 0d 67 6c 6f 62 61 |nstallWS| v.globa| |00000bd0| 6c 20 50 50 2c 43 52 2c | 50 54 2c 42 57 2c 42 4d |l PP,CR,|PT,BW,BM| |00000be0| 2c 57 53 53 0d 69 66 20 | 50 50 3d 22 22 20 74 68 |,WSS.if |PP="" th| |00000bf0| 65 6e 0d 70 75 74 20 72 | 65 74 75 72 6e 20 69 6e |en.put r|eturn in| |00000c00| 74 6f 20 43 52 0d 70 75 | 74 20 22 50 72 6f 70 65 |to CR.pu|t "Prope| |00000c10| 72 74 79 20 50 69 63 6b | 65 72 22 20 69 6e 74 6f |rty Pick|er" into| |00000c20| 20 50 50 0d 70 75 74 20 | 22 42 69 67 4d 65 73 73 | PP.put |"BigMess| |00000c30| 61 67 65 22 20 69 6e 74 | 6f 20 42 4d 0d 69 66 20 |age" int|o BM.if | |00000c40| 28 77 6f 72 64 20 31 20 | 6f 66 20 73 63 72 65 65 |(word 1 |of scree| |00000c50| 6e 49 6e 66 6f 28 72 65 | 63 74 20 6f 66 20 63 64 |nInfo(re|ct of cd| |00000c60| 20 77 69 6e 64 6f 77 29 | 20 3c 20 31 36 29 20 74 | window)| < 16) t| |00000c70| 68 65 6e 20 70 75 74 20 | 22 42 57 22 20 69 6e 74 |hen put |"BW" int| |00000c80| 6f 20 42 57 20 65 6c 73 | 65 20 70 75 74 20 22 22 |o BW els|e put ""| |00000c90| 20 69 6e 74 6f 20 42 57 | 0d 70 75 74 20 22 77 73 | into BW|.put "ws| |00000ca0| 54 6f 6f 6c 73 22 26 42 | 57 20 69 6e 74 6f 20 50 |Tools"&B|W into P| |00000cb0| 54 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |T.put li|ne 1 of | |00000cc0| 74 68 65 20 73 74 61 63 | 6b 73 49 6e 55 73 65 20 |the stac|ksInUse | |00000cd0| 69 6e 74 6f 20 57 53 53 | 0d 67 65 74 20 57 69 6e |into WSS|.get Win| |00000ce0| 64 6f 77 53 63 72 69 70 | 74 28 22 77 73 53 70 6c |dowScrip|t("wsSpl| |00000cf0| 61 73 68 22 29 0d 73 65 | 74 20 63 75 72 73 6f 72 |ash").se|t cursor| |00000d00| 20 74 6f 20 62 75 73 79 | 0d 62 61 72 43 68 61 6e | to busy|.barChan| |00000d10| 67 65 73 20 22 49 22 0d | 6d 61 6b 65 50 61 6c 73 |ges "I".|makePals| |00000d20| 0d 69 66 20 42 57 ad 22 | 22 20 74 68 65 6e 0d 6d |.if BW."|" then.m| |00000d30| 65 6e 75 53 65 74 20 22 | 54 6f 6f 6c 73 22 2c 31 |enuSet "|Tools",1| |00000d40| 2c 22 4e 41 4d 45 22 2c | 22 43 75 72 73 6f 72 54 |,"NAME",|"CursorT| |00000d50| 6f 6f 6c 73 42 57 2c 33 | 2c 31 2c 30 2c 56 22 0d |oolsBW,3|,1,0,V".| |00000d60| 6d 65 6e 75 53 65 74 20 | 22 54 6f 6f 6c 73 22 2c |menuSet |"Tools",| |00000d70| 32 2c 22 4e 41 4d 45 22 | 2c 22 54 6f 6f 6c 73 44 |2,"NAME"|,"ToolsD| |00000d80| 69 76 69 64 65 72 42 57 | 22 0d 6d 65 6e 75 53 65 |ividerBW|".menuSe| |00000d90| 74 20 22 54 6f 6f 6c 73 | 22 2c 33 2c 22 4e 41 4d |t "Tools|",3,"NAM| |00000da0| 45 22 2c 22 49 74 65 6d | 54 6f 6f 6c 73 42 57 2c |E","Item|ToolsBW,| |00000db0| 33 2c 35 2c 30 2c 56 22 | 0d 65 6e 64 20 69 66 0d |3,5,0,V"|.end if.| |00000dc0| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 22 77 73 |close wi|ndow "ws| |00000dd0| 53 70 6c 61 73 68 22 0d | 69 66 20 76 3d 74 72 75 |Splash".|if v=tru| |00000de0| 65 20 74 68 65 6e 20 62 | 6d 70 75 74 20 22 57 69 |e then b|mput "Wi| |00000df0| 6e 64 6f 77 53 63 72 69 | 70 74 20 49 6e 73 74 61 |ndowScri|pt Insta| |00000e00| 6c 6c 65 64 2e 22 0d 65 | 6e 64 20 69 66 0d 65 6e |lled.".e|nd if.en| |00000e10| 64 20 69 6e 73 74 61 6c | 6c 57 53 0d 6f 6e 20 64 |d instal|lWS.on d| |00000e20| 65 69 6e 73 74 61 6c 6c | 57 53 0d 67 6c 6f 62 61 |einstall|WS.globa| |00000e30| 6c 20 50 50 2c 50 54 2c | 42 4d 2c 74 79 70 65 53 |l PP,PT,|BM,typeS| |00000e40| 68 6f 77 6e 0d 69 66 20 | 50 50 ad 22 22 20 74 68 |hown.if |PP."" th| |00000e50| 65 6e 0d 67 65 74 20 74 | 68 65 20 77 69 6e 64 6f |en.get t|he windo| |00000e60| 77 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ws.set c|ursor to| |00000e70| 20 77 61 74 63 68 0d 72 | 65 70 65 61 74 20 77 69 | watch.r|epeat wi| |00000e80| 74 68 20 6c 3d 31 20 74 | 6f 20 6e 75 6d 62 65 72 |th l=1 t|o number| |00000e90| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 69 74 0d | of line|s in it.| |00000ea0| 69 66 20 77 73 47 65 74 | 28 6c 69 6e 65 20 6c 20 |if wsGet|(line l | |00000eb0| 6f 66 20 69 74 2c 22 78 | 53 74 61 63 6b 4e 61 6d |of it,"x|StackNam| |00000ec0| 65 22 29 ad 22 22 20 74 | 68 65 6e 20 63 6c 6f 73 |e")."" t|hen clos| |00000ed0| 65 20 77 69 6e 64 6f 77 | 20 28 6c 69 6e 65 20 6c |e window| (line l| |00000ee0| 20 6f 66 20 69 74 29 0d | 65 6e 64 20 72 65 70 65 | of it).|end repe| |00000ef0| 61 74 0d 62 61 72 43 68 | 61 6e 67 65 73 20 22 52 |at.barCh|anges "R| |00000f00| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a | |00000f10| 77 69 6e 64 6f 77 20 50 | 50 20 74 68 65 6e 20 63 |window P|P then c| |00000f20| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 50 50 0d 69 |lose win|dow PP.i| |00000f30| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win| |00000f40| 64 6f 77 20 50 54 20 74 | 68 65 6e 20 63 6c 6f 73 |dow PT t|hen clos| |00000f50| 65 20 77 69 6e 64 6f 77 | 20 50 54 0d 69 66 20 74 |e window| PT.if t| |00000f60| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window| |00000f70| 20 42 4d 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 | BM then| close w| |00000f80| 69 6e 64 6f 77 20 42 4d | 0d 70 75 74 20 22 22 20 |indow BM|.put "" | |00000f90| 69 6e 74 6f 20 50 50 0d | 70 75 74 20 22 22 20 69 |into PP.|put "" i| |00000fa0| 6e 74 6f 20 50 54 0d 70 | 75 74 20 22 22 20 69 6e |nto PT.p|ut "" in| |00000fb0| 74 6f 20 74 79 70 65 53 | 68 6f 77 6e 0d 65 6c 73 |to typeS|hown.els| |00000fc0| 65 20 62 6f 6e 6b 20 74 | 68 65 20 70 61 72 61 6d |e bonk t|he param| |00000fd0| 73 0d 65 6e 64 20 64 65 | 69 6e 73 74 61 6c 6c 57 |s.end de|installW| |00000fe0| 53 0d 6f 6e 20 6d 61 6b | 65 50 61 6c 73 0d 67 6c |S.on mak|ePals.gl| |00000ff0| 6f 62 61 6c 20 50 50 2c | 50 54 2c 74 79 70 65 53 |obal PP,|PT,typeS| |00001000| 68 6f 77 6e 2c 43 52 2c | 50 50 49 44 2c 70 70 56 |hown,CR,|PPID,ppV| |00001010| 69 73 2c 70 74 56 69 73 | 2c 42 57 2c 42 4d 0d 69 |is,ptVis|,BW,BM.i| |00001020| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 77 69 |f there |is no wi| |00001030| 6e 64 6f 77 20 50 50 20 | 74 68 65 6e 0d 69 66 20 |ndow PP |then.if | |00001040| 62 77 ad 22 22 20 74 68 | 65 6e 0d 67 65 74 20 22 |bw."" th|en.get "| |00001050| 5f 52 65 63 74 3a 20 35 | 30 30 2c 30 2c 35 30 30 |_Rect: 5|00,0,500| |00001060| 2c 30 22 26 43 52 0d 70 | 75 74 20 43 52 26 22 69 |,0"&CR.p|ut CR&"i| |00001070| 39 30 22 26 69 74 26 22 | 69 39 31 22 26 69 74 26 |90"&it&"|i91"&it&| |00001080| 22 69 39 32 22 26 69 74 | 26 22 69 30 5f 4d 65 6e |"i92"&it|&"i0_Men| |00001090| 75 62 61 72 3a 20 42 69 | 67 42 72 6f 42 61 72 22 |ubar: Bi|gBroBar"| |000010a0| 26 42 57 20 69 6e 74 6f | 20 69 6e 69 74 0d 65 6c |&BW into| init.el| |000010b0| 73 65 20 70 75 74 20 22 | 22 20 69 6e 74 6f 20 69 |se put "|" into i| |000010c0| 6e 69 74 0d 67 65 74 20 | 52 65 73 6f 75 72 63 65 |nit.get |Resource| |000010d0| 4c 69 73 74 28 22 46 4f | 4e 44 22 2c 22 4e 61 6d |List("FO|ND","Nam| |000010e0| 65 22 29 0d 73 6f 72 74 | 20 69 74 0d 73 65 74 20 |e").sort| it.set | |000010f0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g| |00001100| 65 74 20 57 69 6e 64 6f | 77 53 63 72 69 70 74 28 |et Windo|wScript(| |00001110| 50 50 26 69 6e 69 74 2c | 69 74 29 0d 70 75 74 20 |PP&init,|it).put | |00001120| 77 6f 72 64 20 31 20 6f | 66 20 69 74 20 69 6e 74 |word 1 o|f it int| |00001130| 6f 20 70 70 49 44 0d 73 | 65 74 20 63 75 72 73 6f |o ppID.s|et curso| |00001140| 72 20 74 6f 20 62 75 73 | 79 0d 67 65 74 20 73 63 |r to bus|y.get sc| |00001150| 72 65 65 6e 52 65 63 74 | 28 29 0d 73 65 74 20 69 |reenRect|().set i| |00001160| 30 5f 54 6f 70 4c 65 66 | 74 20 6f 66 20 77 69 6e |0_TopLef|t of win| |00001170| 64 6f 77 20 70 70 20 74 | 6f 20 28 28 69 74 65 6d |dow pp t|o ((item| |00001180| 20 33 20 6f 66 20 69 74 | 29 20 2d 20 28 69 30 5f | 3 of it|) - (i0_| |00001190| 77 69 64 74 68 20 6f 66 | 20 77 69 6e 64 6f 77 20 |width of| window | |000011a0| 50 50 29 20 2d 20 35 20 | 29 26 22 2c 22 26 28 28 |PP) - 5 |)&","&((| |000011b0| 69 74 65 6d 20 32 20 6f | 66 20 69 74 29 20 2b 20 |item 2 o|f it) + | |000011c0| 33 34 20 29 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |34 ).put| "" into| |000011d0| 20 74 79 70 65 53 68 6f | 77 6e 0d 70 75 74 20 74 | typeSho|wn.put t| |000011e0| 72 75 65 20 69 6e 74 6f | 20 70 70 56 69 73 0d 6d |rue into| ppVis.m| |000011f0| 65 6e 75 53 65 74 20 22 | 4f 62 6a 65 63 74 73 22 |enuSet "|Objects"| |00001200| 2c 31 2c 22 4e 41 4d 45 | 22 2c 22 53 68 6f 77 20 |,1,"NAME|","Show | |00001210| 49 6e 66 6f 22 0d 65 6e | 64 20 69 66 0d 69 66 20 |Info".en|d if.if | |00001220| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 77 69 6e 64 |there is| no wind| |00001230| 6f 77 20 50 54 20 74 68 | 65 6e 0d 67 65 74 20 57 |ow PT th|en.get W| |00001240| 69 6e 64 6f 77 53 63 72 | 69 70 74 28 50 54 29 0d |indowScr|ipt(PT).| |00001250| 73 65 74 20 69 30 5f 74 | 6f 70 4c 65 66 74 20 6f |set i0_t|opLeft o| |00001260| 66 20 77 69 6e 64 6f 77 | 20 50 54 20 74 6f 20 67 |f window| PT to g| |00001270| 6c 6f 62 61 6c 50 74 28 | 74 6f 70 6c 65 66 74 20 |lobalPt(|topleft | |00001280| 6f 66 20 77 69 6e 64 6f | 77 20 22 74 6f 6f 6c 73 |of windo|w "tools| |00001290| 22 2c 30 2c 30 29 0d 70 | 75 74 20 74 72 75 65 20 |",0,0).p|ut true | |000012a0| 69 6e 74 6f 20 70 74 56 | 69 73 0d 73 65 74 20 63 |into ptV|is.set c| |000012b0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 65 6e |ursor to| busy.en| |000012c0| 64 20 69 66 0d 69 66 20 | 74 68 65 72 65 20 69 73 |d if.if |there is| |000012d0| 20 6e 6f 20 77 69 6e 64 | 6f 77 20 42 4d 20 74 68 | no wind|ow BM th| |000012e0| 65 6e 0d 67 65 74 20 57 | 69 6e 64 6f 77 53 63 72 |en.get W|indowScr| |000012f0| 69 70 74 28 42 4d 26 43 | 52 26 22 69 30 5f 4d 65 |ipt(BM&C|R&"i0_Me| |00001300| 6e 75 62 61 72 3a 20 42 | 69 67 42 72 6f 42 61 72 |nubar: B|igBroBar| |00001310| 22 26 42 57 29 0d 73 65 | 74 20 69 30 5f 74 6f 70 |"&BW).se|t i0_top| |00001320| 4c 65 66 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 42 |Left of |window B| |00001330| 4d 20 74 6f 20 67 6c 6f | 62 61 6c 50 74 28 74 6f |M to glo|balPt(to| |00001340| 70 6c 65 66 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |pleft of| window | |00001350| 22 6d 65 73 73 61 67 65 | 22 2c 2d 38 2c 30 29 0d |"message|",-8,0).| |00001360| 69 66 20 6d 73 67 20 69 | 73 20 76 69 73 69 62 6c |if msg i|s visibl| |00001370| 65 20 74 68 65 6e 20 68 | 69 64 65 20 6d 73 67 0d |e then h|ide msg.| |00001380| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu| |00001390| 73 79 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6d 61 |sy.end i|f.end ma| |000013a0| 6b 65 50 61 6c 73 0d 66 | 75 6e 63 74 69 6f 6e 20 |kePals.f|unction | |000013b0| 67 6c 6f 62 61 6c 50 74 | 20 70 31 2c 6f 66 66 78 |globalPt| p1,offx| |000013c0| 2c 6f 66 66 79 0d 72 65 | 74 75 72 6e 20 28 69 74 |,offy.re|turn (it| |000013d0| 65 6d 20 31 20 6f 66 20 | 70 31 2b 6c 65 66 74 20 |em 1 of |p1+left | |000013e0| 6f 66 20 63 64 20 77 69 | 6e 64 6f 77 2b 6f 66 66 |of cd wi|ndow+off| |000013f0| 78 29 26 22 2c 22 26 28 | 69 74 65 6d 20 32 20 6f |x)&","&(|item 2 o| |00001400| 66 20 70 31 2b 74 6f 70 | 20 6f 66 20 63 64 20 77 |f p1+top| of cd w| |00001410| 69 6e 64 6f 77 2b 6f 66 | 66 79 29 0d 65 6e 64 20 |indow+of|fy).end | |00001420| 67 6c 6f 62 61 6c 50 74 | 0d 6f 6e 20 63 68 6f 6f |globalPt|.on choo| |00001430| 73 65 43 75 72 73 20 6e | 2c 69 0d 67 6c 6f 62 61 |seCurs n|,i.globa| |00001440| 6c 20 50 54 2c 42 42 2c | 50 50 0d 53 65 74 20 69 |l PT,BB,|PP.Set i| |00001450| 33 5f 53 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 77 |3_Select|ion of w| |00001460| 69 6e 64 6f 77 20 50 54 | 20 74 6f 20 30 0d 53 65 |indow PT| to 0.Se| |00001470| 74 20 69 31 5f 53 65 6c | 65 63 74 69 6f 6e 20 6f |t i1_Sel|ection o| |00001480| 66 20 77 69 6e 64 6f 77 | 20 50 54 20 74 6f 20 69 |f window| PT to i| |00001490| 0d 6d 65 6e 75 53 65 74 | 20 22 54 6f 6f 6c 73 22 |.menuSet| "Tools"| |000014a0| 2c 31 2c 22 53 45 4c 45 | 43 54 49 4f 4e 22 2c 69 |,1,"SELE|CTION",i| |000014b0| 0d 6d 65 6e 75 53 65 74 | 20 22 54 6f 6f 6c 73 22 |.menuSet| "Tools"| |000014c0| 2c 33 2c 22 53 45 4c 45 | 43 54 49 4f 4e 22 2c 30 |,3,"SELE|CTION",0| |000014d0| 0d 53 65 74 20 45 64 69 | 74 4d 6f 64 65 20 6f 66 |.Set Edi|tMode of| |000014e0| 20 77 69 6e 64 6f 77 20 | 42 42 20 74 6f 20 6e 0d | window |BB to n.| |000014f0| 65 6e 64 20 63 68 6f 6f | 73 65 43 75 72 73 0d 6f |end choo|seCurs.o| |00001500| 6e 20 63 68 6f 6f 73 65 | 54 6f 6f 6c 20 77 0d 67 |n choose|Tool w.g| |00001510| 6c 6f 62 61 6c 20 50 54 | 2c 42 42 2c 50 50 2c 42 |lobal PT|,BB,PP,B| |00001520| 4d 0d 69 66 20 42 69 67 | 42 72 6f 74 68 65 72 20 |M.if Big|Brother | |00001530| 6f 66 20 77 69 6e 64 6f | 77 20 42 42 3d 66 61 6c |of windo|w BB=fal| |00001540| 73 65 20 74 68 65 6e 0d | 6d 65 6e 75 53 65 74 20 |se then.|menuSet | |00001550| 22 54 6f 6f 6c 73 22 2c | 31 2c 22 53 45 4c 45 43 |"Tools",|1,"SELEC| |00001560| 54 49 4f 4e 22 2c 30 0d | 6d 65 6e 75 53 65 74 20 |TION",0.|menuSet | |00001570| 22 54 6f 6f 6c 73 22 2c | 33 2c 22 53 45 4c 45 43 |"Tools",|3,"SELEC| |00001580| 54 49 4f 4e 22 2c 30 0d | 65 6c 73 65 20 69 66 20 |TION",0.|else if | |00001590| 77 3d 22 53 65 6c 65 63 | 74 22 20 74 68 65 6e 20 |w="Selec|t" then | |000015a0| 63 68 6f 6f 73 65 43 75 | 72 73 20 22 53 65 6c 65 |chooseCu|rs "Sele| |000015b0| 63 74 22 2c 33 0d 65 6c | 73 65 20 69 66 20 77 3d |ct",3.el|se if w=| |000015c0| 22 50 6c 61 79 22 20 74 | 68 65 6e 20 63 68 6f 6f |"Play" t|hen choo| |000015d0| 73 65 43 75 72 73 20 22 | 50 6c 61 79 22 2c 31 0d |seCurs "|Play",1.| |000015e0| 65 6c 73 65 20 69 66 20 | 77 3d 22 22 20 74 68 65 |else if |w="" the| |000015f0| 6e 0d 67 65 74 20 65 64 | 69 74 6d 6f 64 65 20 6f |n.get ed|itmode o| |00001600| 66 20 77 69 6e 64 6f 77 | 20 42 42 0d 69 66 20 69 |f window| BB.if i| |00001610| 74 3d 22 50 4c 41 59 22 | 20 74 68 65 6e 20 63 68 |t="PLAY"| then ch| |00001620| 6f 6f 73 65 43 75 72 73 | 20 22 50 6c 61 79 22 2c |ooseCurs| "Play",| |00001630| 31 20 65 6c 73 65 20 63 | 68 6f 6f 73 65 43 75 72 |1 else c|hooseCur| |00001640| 73 20 22 53 65 6c 65 63 | 74 22 2c 33 0d 65 6c 73 |s "Selec|t",3.els| |00001650| 65 20 69 66 20 77 20 69 | 73 20 61 6e 20 69 6e 74 |e if w i|s an int| |00001660| 65 67 65 72 20 74 68 65 | 6e 0d 69 66 20 77 3d 31 |eger the|n.if w=1| |00001670| 20 74 68 65 6e 20 63 68 | 6f 6f 73 65 43 75 72 73 | then ch|ooseCurs| |00001680| 20 22 50 6c 61 79 22 2c | 31 0d 65 6c 73 65 20 69 | "Play",|1.else i| |00001690| 66 20 28 77 3c 3d 33 29 | 20 74 68 65 6e 20 63 68 |f (w<=3)| then ch| |000016a0| 6f 6f 73 65 43 75 72 73 | 20 22 53 65 6c 65 63 74 |ooseCurs| "Select| |000016b0| 22 2c 33 20 65 6c 73 65 | 0d 69 66 20 28 77 3d 31 |",3 else|.if (w=1| |000016c0| 32 20 61 6e 64 20 6e 6f | 74 20 48 61 73 51 54 28 |2 and no|t HasQT(| |000016d0| 29 29 20 74 68 65 6e 20 | 62 6d 50 75 74 20 22 43 |)) then |bmPut "C| |000016e0| 61 75 74 69 6f 6e 3a 20 | 51 75 69 63 6b 54 69 6d |aution: |QuickTim| |000016f0| 65 20 6e 6f 74 20 69 6e | 73 74 61 6c 6c 65 64 2e |e not in|stalled.| |00001700| 22 0d 53 65 74 20 69 33 | 5f 53 65 6c 65 63 74 69 |".Set i3|_Selecti| |00001710| 6f 6e 20 6f 66 20 77 69 | 6e 64 6f 77 20 50 54 20 |on of wi|ndow PT | |00001720| 74 6f 20 77 2d 33 0d 53 | 65 74 20 69 31 5f 53 65 |to w-3.S|et i1_Se| |00001730| 6c 65 63 74 69 6f 6e 20 | 6f 66 20 77 69 6e 64 6f |lection |of windo| |00001740| 77 20 50 54 20 74 6f 20 | 30 0d 53 65 74 20 45 64 |w PT to |0.Set Ed| |00001750| 69 74 4d 6f 64 65 20 6f | 66 20 77 69 6e 64 6f 77 |itMode o|f window| |00001760| 20 42 42 20 74 6f 20 22 | 4d 41 4b 45 22 0d 6d 65 | BB to "|MAKE".me| |00001770| 6e 75 53 65 74 20 22 54 | 6f 6f 6c 73 22 2c 31 2c |nuSet "T|ools",1,| |00001780| 22 53 45 4c 45 43 54 49 | 4f 4e 22 2c 30 0d 6d 65 |"SELECTI|ON",0.me| |00001790| 6e 75 53 65 74 20 22 54 | 6f 6f 6c 73 22 2c 33 2c |nuSet "T|ools",3,| |000017a0| 22 53 45 4c 45 43 54 49 | 4f 4e 22 2c 77 2d 33 0d |"SELECTI|ON",w-3.| |000017b0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en| |000017c0| 64 20 63 68 6f 6f 73 65 | 54 6f 6f 6c 0d 6f 6e 20 |d choose|Tool.on | |000017d0| 62 6d 50 75 74 20 77 0d | 67 6c 6f 62 61 6c 20 42 |bmPut w.|global B| |000017e0| 4d 2c 43 52 0d 77 73 53 | 65 74 20 42 4d 2c 22 50 |M,CR.wsS|et BM,"P| |000017f0| 52 4f 50 45 52 54 49 45 | 53 22 2c 22 69 31 5f 54 |ROPERTIE|S","i1_T| |00001800| 45 58 54 3a 22 26 73 63 | 72 75 6e 63 68 28 77 29 |EXT:"&sc|runch(w)| |00001810| 26 43 52 26 22 69 30 5f | 56 49 53 49 42 4c 45 3a |&CR&"i0_|VISIBLE:| |00001820| 54 52 55 45 22 26 43 52 | 26 22 69 30 5f 42 52 49 |TRUE"&CR|&"i0_BRI| |00001830| 4e 47 54 4f 46 52 4f 4e | 54 22 26 43 52 26 22 69 |NGTOFRON|T"&CR&"i| |00001840| 31 5f 53 45 4c 45 43 54 | 49 4f 4e 3a 30 2d 33 32 |1_SELECT|ION:0-32| |00001850| 37 36 37 22 0d 65 6e 64 | 20 62 6d 50 75 74 0d 6f |767".end| bmPut.o| |00001860| 6e 20 73 68 6f 77 48 69 | 64 65 50 61 6c 73 20 73 |n showHi|dePals s| |00001870| 68 6f 77 49 74 0d 67 6c | 6f 62 61 6c 20 50 50 2c |howIt.gl|obal PP,| |00001880| 50 54 2c 42 42 2c 70 70 | 56 69 73 2c 70 74 56 69 |PT,BB,pp|Vis,ptVi| |00001890| 73 0d 69 66 20 73 68 6f | 77 49 54 3d 54 52 55 45 |s.if sho|wIT=TRUE| |000018a0| 20 61 6e 64 20 77 73 47 | 65 74 28 42 42 2c 22 42 | and wsG|et(BB,"B| |000018b0| 69 67 42 72 6f 74 68 65 | 72 22 29 ad 54 52 55 45 |igBrothe|r").TRUE| |000018c0| 20 74 68 65 6e 20 70 75 | 74 20 66 61 6c 73 65 20 | then pu|t false | |000018d0| 69 6e 74 6f 20 73 68 6f | 77 49 74 0d 69 66 20 73 |into sho|wIt.if s| |000018e0| 68 6f 77 49 74 3d 74 72 | 75 65 20 74 68 65 6e 0d |howIt=tr|ue then.| |000018f0| 6d 61 6b 65 50 61 6c 73 | 0d 77 73 53 65 74 20 50 |makePals|.wsSet P| |00001900| 50 2c 22 56 49 53 49 42 | 4c 45 22 2c 70 70 56 69 |P,"VISIB|LE",ppVi| |00001910| 73 0d 77 73 53 65 74 20 | 50 54 2c 22 56 49 53 49 |s.wsSet |PT,"VISI| |00001920| 42 4c 45 22 2c 70 74 56 | 69 73 0d 68 69 64 65 20 |BLE",ptV|is.hide | |00001930| 77 69 6e 64 6f 77 20 22 | 74 6f 6f 6c 73 22 0d 65 |window "|tools".e| |00001940| 6c 73 65 20 69 66 20 73 | 68 6f 77 49 74 3d 66 61 |lse if s|howIt=fa| |00001950| 6c 73 65 20 74 68 65 6e | 0d 77 73 53 65 74 20 50 |lse then|.wsSet P| |00001960| 54 2c 22 56 49 53 49 42 | 4c 45 22 2c 46 41 4c 53 |T,"VISIB|LE",FALS| |00001970| 45 0d 77 73 53 65 74 20 | 50 50 2c 22 56 49 53 49 |E.wsSet |PP,"VISI| |00001980| 42 4c 45 22 2c 46 41 4c | 53 45 0d 2d 2d 20 69 66 |BLE",FAL|SE.-- if| |00001990| 20 70 74 56 69 73 20 74 | 68 65 6e 20 73 68 6f 77 | ptVis t|hen show| |000019a0| 20 77 69 6e 64 6f 77 20 | 22 74 6f 6f 6c 73 22 0d | window |"tools".| |000019b0| 65 6e 64 20 69 66 0d 6d | 65 6e 75 53 65 74 20 22 |end if.m|enuSet "| |000019c0| 4f 62 6a 65 63 74 73 22 | 2c 22 47 72 69 64 22 2c |Objects"|,"Grid",| |000019d0| 22 43 48 45 43 4b 4d 41 | 52 4b 22 2c 77 73 47 65 |"CHECKMA|RK",wsGe| |000019e0| 74 28 42 42 2c 22 53 4e | 41 50 22 29 0d 6d 65 6e |t(BB,"SN|AP").men| |000019f0| 75 53 65 74 20 22 54 6f | 6f 6c 73 2c 4f 62 6a 65 |uSet "To|ols,Obje| |00001a00| 63 74 73 2c 46 6f 6e 74 | 2c 53 74 79 6c 65 2c 43 |cts,Font|,Style,C| |00001a10| 6f 6c 6f 72 22 2c 30 2c | 22 44 49 53 41 42 4c 45 |olor",0,|"DISABLE| |00001a20| 44 22 2c 28 73 68 6f 77 | 49 74 ad 74 72 75 65 29 |D",(show|It.true)| |00001a30| 0d 65 6e 64 20 73 68 6f | 77 48 69 64 65 50 61 6c |.end sho|wHidePal| |00001a40| 73 0d 66 75 6e 63 74 69 | 6f 6e 20 63 68 6b 34 44 |s.functi|on chk4D| |00001a50| 75 70 20 77 2c 62 66 0d | 69 66 20 74 68 65 72 65 |up w,bf.|if there| |00001a60| 20 69 73 20 6e 6f 20 77 | 69 6e 64 6f 77 20 77 20 | is no w|indow w | |00001a70| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 66 61 6c 73 |then ret|urn fals| |00001a80| 65 0d 69 66 20 62 66 20 | 74 68 65 6e 20 67 65 74 |e.if bf |then get| |00001a90| 20 22 49 74 20 77 69 6c | 6c 20 62 65 20 62 72 6f | "It wil|l be bro| |00001aa0| 75 67 68 74 20 74 6f 20 | 74 68 65 20 66 72 6f 6e |ught to |the fron| |00001ab0| 74 2e 22 20 65 6c 73 65 | 20 67 65 74 20 22 22 0d |t." else| get "".| |00001ac0| 53 74 6f 70 41 6c 65 72 | 74 20 22 41 20 77 69 6e |StopAler|t "A win| |00001ad0| 64 6f 77 20 6e 61 6d 65 | 64 20 d2 22 26 77 26 22 |dow name|d ."&w&"| |00001ae0| d3 20 69 73 20 61 6c 72 | 65 61 64 79 20 6f 70 65 |. is alr|eady ope| |00001af0| 6e 2e 22 26 26 69 74 2c | 22 43 61 6e 63 65 6c 22 |n."&&it,|"Cancel"| |00001b00| 0d 69 66 20 62 66 20 74 | 68 65 6e 20 73 65 6e 64 |.if bf t|hen send| |00001b10| 20 22 42 52 49 4e 47 54 | 4f 46 52 4f 4e 54 22 20 | "BRINGT|OFRONT" | |00001b20| 74 6f 20 77 69 6e 64 6f | 77 20 77 0d 72 65 74 75 |to windo|w w.retu| |00001b30| 72 6e 20 74 72 75 65 0d | 65 6e 64 20 63 68 6b 34 |rn true.|end chk4| |00001b40| 44 75 70 0d 6f 6e 20 64 | 6f 57 69 6e 64 6f 77 20 |Dup.on d|oWindow | |00001b50| 69 6e 69 74 2c 73 6b 0d | 67 6c 6f 62 61 6c 20 42 |init,sk.|global B| |00001b60| 42 2c 43 52 2c 42 57 2c | 57 53 53 0d 69 66 20 73 |B,CR,BW,|WSS.if s| |00001b70| 6b 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |k is emp|ty then | |00001b80| 70 75 74 20 76 61 6c 75 | 65 20 6f 66 20 77 6f 72 |put valu|e of wor| |00001b90| 64 20 32 20 6f 66 20 6c | 6f 6e 67 20 6e 61 6d 65 |d 2 of l|ong name| |00001ba0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i| |00001bb0| 6e 74 6f 20 73 6b 0d 43 | 72 65 61 74 65 52 65 73 |nto sk.C|reateRes| |00001bc0| 46 6f 72 6b 20 28 73 6b | 29 0d 69 66 20 74 68 65 |Fork (sk|).if the| |00001bd0| 20 6f 70 74 69 6f 6e 4b | 65 79 3d 64 6f 77 6e 20 | optionK|ey=down | |00001be0| 74 68 65 6e 20 70 75 74 | 20 52 65 73 6f 75 72 63 |then put| Resourc| |00001bf0| 65 4c 69 73 74 28 73 6b | 2c 22 6c 6a 62 20 22 29 |eList(sk|,"ljb ")| |00001c00| 20 69 6e 74 6f 20 6c 0d | 65 6c 73 65 20 70 75 74 | into l.|else put| |00001c10| 20 52 65 73 6f 75 72 63 | 65 4c 69 73 74 28 73 6b | Resourc|eList(sk| |00001c20| 2c 22 4c 45 4e 53 22 29 | 20 69 6e 74 6f 20 6c 0d |,"LENS")| into l.| |00001c30| 73 6f 72 74 20 6c 0d 70 | 75 74 20 57 69 6e 64 6f |sort l.p|ut Windo| |00001c40| 77 53 63 72 69 70 74 28 | 22 77 69 6e 64 6f 77 73 |wScript(|"windows| |00001c50| 22 26 43 52 26 69 6e 69 | 74 2c 6c 2c 31 2c 6c 3d |"&CR&ini|t,l,1,l=| |00001c60| 22 22 2c 6c 3d 22 22 29 | 20 69 6e 74 6f 20 77 68 |"",l="")| into wh| |00001c70| 61 74 55 70 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |atUp.put| line 1 | |00001c80| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 73 20 69 6e |of the s|tacks in| |00001c90| 74 6f 20 74 68 65 53 74 | 61 63 6b 0d 70 75 74 20 |to theSt|ack.put | |00001ca0| 6c 69 6e 65 20 32 20 6f | 66 20 77 68 61 74 55 70 |line 2 o|f whatUp| |00001cb0| 20 69 6e 74 6f 20 74 65 | 78 74 43 68 6b 0d 70 75 | into te|xtChk.pu| |00001cc0| 74 20 6c 69 6e 65 20 33 | 20 74 6f 20 39 39 39 20 |t line 3| to 999 | |00001cd0| 6f 66 20 77 68 61 74 55 | 70 20 69 6e 74 6f 20 77 |of whatU|p into w| |00001ce0| 4c 69 73 74 0d 67 65 74 | 20 6c 69 6e 65 20 31 20 |List.get| line 1 | |00001cf0| 6f 66 20 77 68 61 74 55 | 70 0d 69 66 20 69 74 3d |of whatU|p.if it=| |00001d00| 22 4e 65 77 22 20 74 68 | 65 6e 20 64 6f 4e 65 77 |"New" th|en doNew| |00001d10| 0d 65 6c 73 65 20 69 66 | 20 69 74 3d 22 4f 70 65 |.else if| it="Ope| |00001d20| 6e 22 20 74 68 65 6e 0d | 72 65 70 65 61 74 20 77 |n" then.|repeat w| |00001d30| 69 74 68 20 6c 3d 31 20 | 74 6f 20 6e 75 6d 62 65 |ith l=1 |to numbe| |00001d40| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 77 4c |r of lin|es in wL| |00001d50| 69 73 74 0d 70 75 74 20 | 6c 69 6e 65 20 6c 20 6f |ist.put |line l o| |00001d60| 66 20 77 4c 69 73 74 20 | 69 6e 74 6f 20 74 68 65 |f wList |into the| |00001d70| 4c 45 4e 53 0d 69 66 20 | 63 68 6b 34 44 75 70 28 |LENS.if |chk4Dup(| |00001d80| 74 68 65 4c 45 4e 53 2c | 74 72 75 65 29 20 74 68 |theLENS,|true) th| |00001d90| 65 6e 20 6e 65 78 74 20 | 72 65 70 65 61 74 0d 70 |en next |repeat.p| |00001da0| 75 74 20 4c 45 4e 53 32 | 54 65 78 74 28 73 6b 2c |ut LENS2|Text(sk,| |00001db0| 74 68 65 4c 45 4e 53 29 | 20 69 6e 74 6f 20 6c 65 |theLENS)| into le| |00001dc0| 6e 73 54 65 78 74 0d 69 | 66 20 6c 65 6e 73 74 65 |nsText.i|f lenste| |00001dd0| 78 74 3d 22 22 20 74 68 | 65 6e 20 6e 65 78 74 20 |xt="" th|en next | |00001de0| 72 65 70 65 61 74 0d 69 | 66 20 74 65 78 74 43 68 |repeat.i|f textCh| |00001df0| 6b 0d 74 68 65 6e 20 67 | 65 74 20 57 69 6e 64 6f |k.then g|et Windo| |00001e00| 77 53 63 72 69 70 74 28 | 22 54 65 78 74 57 69 6e |wScript(|"TextWin| |00001e10| 64 6f 77 22 26 43 52 26 | 22 69 30 5f 4d 65 6e 75 |dow"&CR&|"i0_Menu| |00001e20| 62 61 72 3a 20 42 69 67 | 42 72 6f 42 61 72 22 26 |bar: Big|BroBar"&| |00001e30| 42 57 2c 74 68 65 4c 45 | 4e 53 2c 74 68 65 4c 45 |BW,theLE|NS,theLE| |00001e40| 4e 53 2c 73 6b 2c 6c 65 | 6e 73 54 65 78 74 29 0d |NS,sk,le|nsText).| |00001e50| 65 6c 73 65 20 67 65 74 | 20 57 69 6e 64 6f 77 53 |else get| WindowS| |00001e60| 63 72 69 70 74 28 22 42 | 69 67 42 72 6f 74 68 65 |cript("B|igBrothe| |00001e70| 72 22 26 43 52 26 6c 65 | 6e 73 54 65 78 74 26 43 |r"&CR&le|nsText&C| |00001e80| 52 26 22 78 4f 72 67 4e | 61 6d 65 3a 20 22 26 74 |R&"xOrgN|ame: "&t| |00001e90| 68 65 4c 45 4e 53 26 43 | 52 26 22 78 53 74 61 63 |heLENS&C|R&"xStac| |00001ea0| 6b 4e 61 6d 65 3a 20 22 | 26 73 6b 29 0d 65 6e 64 |kName: "|&sk).end| |00001eb0| 20 72 65 70 65 61 74 0d | 65 6c 73 65 20 69 66 20 | repeat.|else if | |00001ec0| 69 74 3d 22 44 65 6c 65 | 74 65 22 20 74 68 65 6e |it="Dele|te" then| |00001ed0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6c 3d 31 |.repeat |with l=1| |00001ee0| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 | to numb|er of li| |00001ef0| 6e 65 73 20 69 6e 20 77 | 4c 69 73 74 0d 70 75 74 |nes in w|List.put| |00001f00| 20 6c 69 6e 65 20 6c 20 | 6f 66 20 77 4c 69 73 74 | line l |of wList| |00001f10| 20 69 6e 74 6f 20 74 68 | 65 4c 45 4e 53 0d 67 65 | into th|eLENS.ge| |00001f20| 74 20 57 69 6e 64 6f 77 | 53 63 72 69 70 74 28 22 |t Window|Script("| |00001f30| 43 61 75 74 69 6f 6e 22 | 2c 22 52 65 61 6c 6c 79 |Caution"|,"Really| |00001f40| 20 64 65 6c 65 74 65 20 | 77 69 6e 64 6f 77 20 d2 | delete |window .| |00001f50| 22 26 74 68 65 4c 65 6e | 73 26 22 d3 3f 22 2c 22 |"&theLen|s&".?","| |00001f60| 44 65 6c 65 74 65 22 29 | 0d 69 66 20 69 74 3d 22 |Delete")|.if it="| |00001f70| 22 20 74 68 65 6e 20 65 | 78 69 74 20 64 6f 57 69 |" then e|xit doWi| |00001f80| 6e 64 6f 77 0d 69 66 20 | 74 68 65 72 65 20 69 73 |ndow.if |there is| |00001f90| 20 61 20 77 69 6e 64 6f | 77 20 74 68 65 4c 45 4e | a windo|w theLEN| |00001fa0| 53 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |S then c|lose win| |00001fb0| 64 6f 77 20 74 68 65 4c | 45 4e 53 0d 72 65 73 44 |dow theL|ENS.resD| |00001fc0| 65 6c 65 74 65 20 73 6b | 2c 22 4c 45 4e 53 22 2c |elete sk|,"LENS",| |00001fd0| 74 68 65 4c 45 4e 53 0d | 69 66 20 74 68 65 20 72 |theLENS.|if the r| |00001fe0| 65 73 75 6c 74 ad 22 22 | 20 74 68 65 6e 20 53 74 |esult.""| then St| |00001ff0| 6f 70 41 6c 65 72 74 20 | 74 68 65 20 72 65 73 75 |opAlert |the resu| |00002000| 6c 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |lt.end r|epeat.en| |00002010| 64 20 69 66 0d 65 6e 64 | 20 64 6f 57 69 6e 64 6f |d if.end| doWindo| |00002020| 77 0d 6f 6e 20 64 6f 4e | 65 77 0d 67 6c 6f 62 61 |w.on doN|ew.globa| |00002030| 6c 20 42 42 2c 43 52 0d | 70 75 74 20 22 55 6e 74 |l BB,CR.|put "Unt| |00002040| 69 74 6c 65 64 22 20 69 | 6e 74 6f 20 4e 65 77 4e |itled" i|nto NewN| |00002050| 61 6d 65 0d 70 75 74 20 | 43 52 20 26 20 72 65 73 |ame.put |CR & res| |00002060| 6f 75 72 63 65 6c 69 73 | 74 28 22 22 2c 22 4c 45 |ourcelis|t("","LE| |00002070| 4e 53 22 2c 22 4e 61 6d | 65 22 29 20 26 20 43 52 |NS","Nam|e") & CR| |00002080| 20 26 20 74 68 65 20 77 | 69 6e 64 6f 77 73 20 69 | & the w|indows i| |00002090| 6e 74 6f 20 6e 67 4c 69 | 73 74 0d 70 75 74 20 31 |nto ngLi|st.put 1| |000020a0| 20 69 6e 74 6f 20 63 6e | 74 0d 72 65 70 65 61 74 | into cn|t.repeat| |000020b0| 20 66 6f 72 65 76 65 72 | 0d 69 66 20 28 43 52 20 | forever|.if (CR | |000020c0| 26 20 6e 65 77 4e 61 6d | 65 20 26 20 43 52 29 20 |& newNam|e & CR) | |000020d0| 69 73 20 69 6e 20 6e 67 | 4c 69 73 74 20 74 68 65 |is in ng|List the| |000020e0| 6e 0d 61 64 64 20 31 20 | 74 6f 20 63 6e 74 0d 70 |n.add 1 |to cnt.p| |000020f0| 75 74 20 22 55 6e 74 69 | 74 6c 65 64 22 26 26 63 |ut "Unti|tled"&&c| |00002100| 6e 74 20 69 6e 74 6f 20 | 4e 65 77 4e 61 6d 65 0d |nt into |NewName.| |00002110| 65 6c 73 65 20 65 78 69 | 74 20 72 65 70 65 61 74 |else exi|t repeat| |00002120| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 65 74 20 |.end rep|eat.get | |00002130| 57 69 6e 64 6f 77 53 63 | 72 69 70 74 28 22 42 69 |WindowSc|ript("Bi| |00002140| 67 42 72 6f 74 68 65 72 | 22 26 43 52 26 22 4e 65 |gBrother|"&CR&"Ne| |00002150| 77 22 26 43 52 26 22 69 | 30 5f 6e 61 6d 65 3a 20 |w"&CR&"i|0_name: | |00002160| 22 26 4e 65 77 4e 61 6d | 65 26 43 52 26 22 78 4f |"&NewNam|e&CR&"xO| |00002170| 72 67 4e 61 6d 65 3a 22 | 26 43 52 26 22 78 44 69 |rgName:"|&CR&"xDi| |00002180| 72 74 3a 20 54 52 55 45 | 22 26 43 52 26 22 78 53 |rt: TRUE|"&CR&"xS| |00002190| 74 61 63 6b 4e 61 6d 65 | 3a 20 22 26 28 6c 69 6e |tackName|: "&(lin| |000021a0| 65 20 31 20 6f 66 20 74 | 68 65 20 73 74 61 63 6b |e 1 of t|he stack| |000021b0| 73 29 29 0d 65 6e 64 20 | 64 6f 4e 65 77 0d 6f 6e |s)).end |doNew.on| |000021c0| 20 64 6f 4d 73 67 0d 67 | 6c 6f 62 61 6c 20 42 4d | doMsg.g|lobal BM| |000021d0| 2c 42 42 0d 67 65 74 20 | 76 69 73 69 62 6c 65 20 |,BB.get |visible | |000021e0| 6f 66 20 77 69 6e 64 6f | 77 20 42 4d 0d 73 65 74 |of windo|w BM.set| |000021f0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 | visible| of wind| |00002200| 6f 77 20 42 4d 20 74 6f | 20 28 6e 6f 74 20 69 74 |ow BM to| (not it| |00002210| 29 0d 69 66 20 69 74 20 | 74 68 65 6e 20 77 73 53 |).if it |then wsS| |00002220| 65 74 20 42 42 2c 22 46 | 4f 43 55 53 22 2c 77 73 |et BB,"F|OCUS",ws| |00002230| 47 65 74 28 42 42 2c 22 | 46 4f 43 55 53 22 29 20 |Get(BB,"|FOCUS") | |00002240| 65 6c 73 65 20 73 65 6e | 64 20 22 42 52 49 4e 47 |else sen|d "BRING| |00002250| 54 4f 46 52 4f 4e 54 22 | 20 74 6f 20 77 69 6e 64 |TOFRONT"| to wind| |00002260| 6f 77 20 42 4d 0d 65 6e | 64 20 64 6f 4d 73 67 0d |ow BM.en|d doMsg.| |00002270| 6f 6e 20 64 6f 53 70 6c | 61 73 68 0d 67 65 74 20 |on doSpl|ash.get | |00002280| 57 69 6e 64 6f 77 53 63 | 72 69 70 74 28 22 77 73 |WindowSc|ript("ws| |00002290| 53 70 6c 61 73 68 22 29 | 0d 77 61 69 74 20 75 6e |Splash")|.wait un| |000022a0| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 3d 64 6f |til the |mouse=do| |000022b0| 77 6e 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |wn.close| window | |000022c0| 22 77 73 53 70 6c 61 73 | 68 22 0d 65 6e 64 20 64 |"wsSplas|h".end d| |000022d0| 6f 53 70 6c 61 73 68 0d | 6f 6e 20 64 6f 44 65 66 |oSplash.|on doDef| |000022e0| 61 75 6c 74 0d 67 6c 6f | 62 61 6c 20 42 42 0d 69 |ault.glo|bal BB.i| |000022f0| 66 20 42 69 67 42 72 6f | 74 68 65 72 20 6f 66 20 |f BigBro|ther of | |00002300| 77 69 6e 64 6f 77 20 42 | 42 3d 74 72 75 65 0d 74 |window B|B=true.t| |00002310| 68 65 6e 20 70 75 74 20 | 77 73 44 65 73 63 72 69 |hen put |wsDescri| |00002320| 62 65 28 42 42 29 20 69 | 6e 74 6f 20 74 68 65 44 |be(BB) i|nto theD| |00002330| 61 74 61 0d 65 6c 73 65 | 20 70 75 74 20 69 31 5f |ata.else| put i1_| |00002340| 74 65 78 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 42 |text of |window B| |00002350| 42 20 69 6e 74 6f 20 74 | 68 65 44 61 74 61 0d 67 |B into t|heData.g| |00002360| 65 74 20 54 65 78 74 32 | 4c 45 4e 53 28 78 53 74 |et Text2|LENS(xSt| |00002370| 61 63 6b 4e 61 6d 65 20 | 6f 66 20 77 69 6e 64 6f |ackName |of windo| |00002380| 77 20 42 42 2c 22 4e 65 | 77 22 2c 74 68 65 44 61 |w BB,"Ne|w",theDa| |00002390| 74 61 2c 22 4f 76 65 72 | 77 72 69 74 65 22 2c 22 |ta,"Over|write","| |000023a0| 6c 6a 62 20 22 29 0d 69 | 66 20 69 74 ad 22 22 20 |ljb ").i|f it."" | |000023b0| 61 6e 64 20 69 74 20 69 | 73 20 6e 6f 74 20 61 6e |and it i|s not an| |000023c0| 20 69 6e 74 65 67 65 72 | 20 74 68 65 6e 0d 53 74 | integer| then.St| |000023d0| 6f 70 41 6c 65 72 74 20 | 22 54 72 6f 75 62 6c 65 |opAlert |"Trouble| |000023e0| 20 73 61 76 69 6e 67 20 | 64 65 66 61 75 6c 74 3a | saving |default:| |000023f0| 22 26 72 65 74 75 72 6e | 26 69 74 0d 65 78 69 74 |"&return|&it.exit| |00002400| 20 64 6f 44 65 66 61 75 | 6c 74 0d 65 6e 64 20 69 | doDefau|lt.end i| |00002410| 66 0d 65 6e 64 20 64 6f | 44 65 66 61 75 6c 74 0d |f.end do|Default.| |00002420| 6f 6e 20 6d 61 6b 65 43 | 6c 65 61 6e 20 77 0d 69 |on makeC|lean w.i| |00002430| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 77 69 |f there |is no wi| |00002440| 6e 64 6f 77 20 77 20 74 | 68 65 6e 20 72 65 74 75 |ndow w t|hen retu| |00002450| 72 6e 20 74 72 75 65 0d | 67 65 74 20 77 73 47 65 |rn true.|get wsGe| |00002460| 74 28 77 2c 22 44 49 52 | 54 59 22 29 0d 69 66 20 |t(w,"DIR|TY").if | |00002470| 69 74 20 3e 20 30 20 74 | 68 65 6e 0d 77 73 53 65 |it > 0 t|hen.wsSe| |00002480| 74 20 77 2c 69 74 2c 22 | 44 49 52 54 59 22 2c 66 |t w,it,"|DIRTY",f| |00002490| 61 6c 73 65 0d 72 65 74 | 75 72 6e 20 77 73 47 65 |alse.ret|urn wsGe| |000024a0| 74 28 77 2c 69 74 2c 22 | 44 49 52 54 59 22 29 0d |t(w,it,"|DIRTY").| |000024b0| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 74 72 75 65 |else ret|urn true| |000024c0| 0d 65 6e 64 20 6d 61 6b | 65 43 6c 65 61 6e 0d 6f |.end mak|eClean.o| |000024d0| 6e 20 64 6f 53 61 76 65 | 20 74 6f 46 0d 67 6c 6f |n doSave| toF.glo| |000024e0| 62 61 6c 20 42 42 0d 69 | 66 20 62 62 20 69 73 20 |bal BB.i|f bb is | |000024f0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit | |00002500| 64 6f 53 61 76 65 0d 73 | 65 74 20 63 75 72 73 6f |doSave.s|et curso| |00002510| 72 20 74 6f 20 77 61 74 | 63 68 0d 69 66 20 42 69 |r to wat|ch.if Bi| |00002520| 67 42 72 6f 74 68 65 72 | 20 6f 66 20 77 69 6e 64 |gBrother| of wind| |00002530| 6f 77 20 42 42 3d 74 72 | 75 65 0d 74 68 65 6e 20 |ow BB=tr|ue.then | |00002540| 70 75 74 20 77 73 44 65 | 73 63 72 69 62 65 28 42 |put wsDe|scribe(B| |00002550| 42 29 20 69 6e 74 6f 20 | 74 68 65 44 61 74 61 0d |B) into |theData.| |00002560| 65 6c 73 65 20 70 75 74 | 20 69 31 5f 74 65 78 74 |else put| i1_text| |00002570| 20 6f 66 20 77 69 6e 64 | 6f 77 20 42 42 20 69 6e | of wind|ow BB in| |00002580| 74 6f 20 74 68 65 44 61 | 74 61 0d 69 66 20 74 6f |to theDa|ta.if to| |00002590| 46 3d 22 22 20 74 68 65 | 6e 0d 70 75 74 20 78 53 |F="" the|n.put xS| |000025a0| 74 61 63 6b 4e 61 6d 65 | 20 6f 66 20 77 69 6e 64 |tackName| of wind| |000025b0| 6f 77 20 42 42 20 69 6e | 74 6f 20 73 6b 0d 70 75 |ow BB in|to sk.pu| |000025c0| 74 20 78 4f 72 67 4e 61 | 6d 65 20 6f 66 20 77 69 |t xOrgNa|me of wi| |000025d0| 6e 64 6f 77 20 42 42 20 | 69 6e 74 6f 20 74 68 65 |ndow BB |into the| |000025e0| 4e 61 6d 65 0d 65 6c 73 | 65 0d 70 75 74 20 74 6f |Name.els|e.put to| |000025f0| 46 20 69 6e 74 6f 20 73 | 6b 0d 70 75 74 20 22 22 |F into s|k.put ""| |00002600| 20 69 6e 74 6f 20 74 68 | 65 4e 61 6d 65 0d 65 6e | into th|eName.en| |00002610| 64 20 69 66 0d 69 66 20 | 74 68 65 20 6f 70 74 69 |d if.if |the opti| |00002620| 6f 6e 4b 65 79 3d 64 6f | 77 6e 0d 74 68 65 6e 20 |onKey=do|wn.then | |00002630| 67 65 74 20 54 65 78 74 | 32 4c 45 4e 53 28 73 6b |get Text|2LENS(sk| |00002640| 2c 42 42 2c 74 68 65 44 | 61 74 61 2c 22 4f 76 65 |,BB,theD|ata,"Ove| |00002650| 72 77 72 69 74 65 22 2c | 22 6c 6a 62 20 22 29 0d |rwrite",|"ljb ").| |00002660| 65 6c 73 65 20 69 66 20 | 74 68 65 4e 61 6d 65 ad |else if |theName.| |00002670| 22 22 20 61 6e 64 20 74 | 68 65 4e 61 6d 65 ad 42 |"" and t|heName.B| |00002680| 42 0d 74 68 65 6e 20 67 | 65 74 20 54 65 78 74 32 |B.then g|et Text2| |00002690| 4c 45 4e 53 28 73 6b 2c | 42 42 2c 74 68 65 44 61 |LENS(sk,|BB,theDa| |000026a0| 74 61 29 0d 65 6c 73 65 | 20 67 65 74 20 54 65 78 |ta).else| get Tex| |000026b0| 74 32 4c 45 4e 53 28 73 | 6b 2c 42 42 2c 74 68 65 |t2LENS(s|k,BB,the| |000026c0| 44 61 74 61 2c 22 4f 76 | 65 72 77 72 69 74 65 22 |Data,"Ov|erwrite"| |000026d0| 29 0d 69 66 20 69 74 ad | 22 22 20 61 6e 64 20 69 |).if it.|"" and i| |000026e0| 74 20 69 73 20 6e 6f 74 | 20 61 6e 20 69 6e 74 65 |t is not| an inte| |000026f0| 67 65 72 20 74 68 65 6e | 0d 53 74 6f 70 41 6c 65 |ger then|.StopAle| |00002700| 72 74 20 22 54 72 6f 75 | 62 6c 65 20 73 61 76 69 |rt "Trou|ble savi| |00002710| 6e 67 20 4c 45 4e 53 3a | 22 26 72 65 74 75 72 6e |ng LENS:|"&return| |00002720| 26 69 74 0d 65 78 69 74 | 20 64 6f 53 61 76 65 0d |&it.exit| doSave.| |00002730| 65 6e 64 20 69 66 0d 73 | 65 74 20 78 44 69 72 74 |end if.s|et xDirt| |00002740| 20 6f 66 20 77 69 6e 64 | 6f 77 20 42 42 20 74 6f | of wind|ow BB to| |00002750| 20 46 41 4c 53 45 0d 73 | 65 74 20 78 4f 72 67 4e | FALSE.s|et xOrgN| |00002760| 61 6d 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 42 42 |ame of w|indow BB| |00002770| 20 74 6f 20 42 42 0d 65 | 6e 64 20 64 6f 53 61 76 | to BB.e|nd doSav| |00002780| 65 0d 6f 6e 20 64 6f 53 | 61 76 65 41 73 0d 61 6e |e.on doS|aveAs.an| |00002790| 73 77 65 72 20 66 69 6c | 65 20 22 53 61 76 65 20 |swer fil|e "Save | |000027a0| 63 6f 70 79 20 6f 66 20 | 77 69 6e 64 6f 77 20 69 |copy of |window i| |000027b0| 6e 74 6f 3a 22 20 6f 66 | 20 74 79 70 65 20 53 54 |nto:" of| type ST| |000027c0| 41 4b 0d 69 66 20 69 74 | ad 22 22 20 74 68 65 6e |AK.if it|."" then| |000027d0| 20 64 6f 53 61 76 65 20 | 69 74 0d 65 6e 64 20 64 | doSave |it.end d| |000027e0| 6f 53 61 76 65 41 73 0d | 6f 6e 20 64 6f 44 65 6c |oSaveAs.|on doDel| |000027f0| 65 74 65 0d 64 6f 57 69 | 6e 64 6f 77 20 22 44 65 |ete.doWi|ndow "De| |00002800| 66 61 75 6c 74 49 74 65 | 6d 3a 20 44 65 6c 65 74 |faultIte|m: Delet| |00002810| 65 22 26 72 65 74 75 72 | 6e 26 22 57 69 6e 64 6f |e"&retur|n&"Windo| |00002820| 77 4c 69 73 74 5f 44 6f | 75 62 6c 65 43 6c 69 63 |wList_Do|ubleClic| |00002830| 6b 49 74 65 6d 3a 20 44 | 65 6c 65 74 65 22 0d 65 |kItem: D|elete".e| |00002840| 6e 64 20 64 6f 44 65 6c | 65 74 65 0d 6f 6e 20 64 |nd doDel|ete.on d| |00002850| 6f 50 72 69 6e 74 0d 67 | 6c 6f 62 61 6c 20 42 42 |oPrint.g|lobal BB| |00002860| 0d 69 66 20 42 69 67 42 | 72 6f 74 68 65 72 20 6f |.if BigB|rother o| |00002870| 66 20 77 69 6e 64 6f 77 | 20 42 42 3d 74 72 75 65 |f window| BB=true| |00002880| 20 74 68 65 6e 0d 73 65 | 6e 64 20 22 73 6e 61 70 | then.se|nd "snap| |00002890| 53 68 6f 74 22 20 74 6f | 20 77 69 6e 64 6f 77 20 |Shot" to| window | |000028a0| 42 42 0d 50 72 69 6e 74 | 57 69 6e 64 6f 77 20 42 |BB.Print|Window B| |000028b0| 42 2c 22 2c 57 69 6e 64 | 6f 77 2c 22 2c 22 50 72 |B,",Wind|ow,","Pr| |000028c0| 69 6e 74 65 64 20 61 74 | 20 a0 20 20 6f 6e 3a 20 |inted at| . on: | |000028d0| b6 2c 2c 50 61 67 65 20 | b9 2c 22 2c 22 30 2e 35 |.,,Page |.,","0.5| |000028e0| 2c 31 2c 30 2e 35 2c 30 | 2e 35 22 2c 22 2e 32 35 |,1,0.5,0|.5",".25| |000028f0| 2c 2e 32 35 22 2c 31 0d | 69 66 20 74 68 65 20 72 |,.25",1.|if the r| |00002900| 65 73 75 6c 74 ad 22 22 | 20 61 6e 64 20 22 63 61 |esult.""| and "ca| |00002910| 6e 63 65 6c 65 64 22 20 | 69 73 20 6e 6f 74 20 69 |nceled" |is not i| |00002920| 6e 20 74 68 65 20 72 65 | 73 75 6c 74 20 74 68 65 |n the re|sult the| |00002930| 6e 0d 53 74 6f 70 41 6c | 65 72 74 20 74 68 65 20 |n.StopAl|ert the | |00002940| 72 65 73 75 6c 74 0d 65 | 6e 64 20 69 66 0d 65 6c |result.e|nd if.el| |00002950| 73 65 0d 67 65 74 20 69 | 31 5f 74 65 78 74 20 6f |se.get i|1_text o| |00002960| 66 20 77 69 6e 64 6f 77 | 20 42 42 0d 50 72 69 6e |f window| BB.Prin| |00002970| 74 54 65 78 74 20 69 74 | 2c 22 2c 57 69 6e 64 6f |tText it|,",Windo| |00002980| 77 2c 22 2c 22 50 72 69 | 6e 74 65 64 20 61 74 20 |w,","Pri|nted at | |00002990| a0 20 20 6f 6e 3a 20 b6 | 2c 2c 50 61 67 65 20 b9 |. on: .|,,Page .| |000029a0| 2c 22 2c 22 30 2e 35 2c | 31 2c 30 2e 35 2c 30 2e |,","0.5,|1,0.5,0.| |000029b0| 35 22 2c 22 2e 32 35 2c | 2e 32 35 22 2c 31 0d 69 |5",".25,|.25",1.i| |000029c0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 ad 22 22 20 |f the re|sult."" | |000029d0| 61 6e 64 20 22 63 61 6e | 63 65 6c 65 64 22 20 69 |and "can|celed" i| |000029e0| 73 20 6e 6f 74 20 69 6e | 20 74 68 65 20 72 65 73 |s not in| the res| |000029f0| 75 6c 74 20 74 68 65 6e | 0d 53 74 6f 70 41 6c 65 |ult then|.StopAle| |00002a00| 72 74 20 20 74 68 65 20 | 72 65 73 75 6c 74 0d 65 |rt the |result.e| |00002a10| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end| |00002a20| 20 64 6f 50 72 69 6e 74 | 0d 6f 6e 20 64 6f 41 6c | doPrint|.on doAl| |00002a30| 69 67 6e 20 64 69 72 0d | 67 6c 6f 62 61 6c 20 42 |ign dir.|global B| |00002a40| 42 0d 69 66 20 65 64 69 | 74 6d 6f 64 65 20 6f 66 |B.if edi|tmode of| |00002a50| 20 77 69 6e 64 6f 77 20 | 42 42 ad 22 73 65 6c 65 | window |BB."sele| |00002a60| 63 74 22 20 74 68 65 6e | 20 65 78 69 74 20 64 6f |ct" then| exit do| |00002a70| 41 6c 69 67 6e 0d 77 73 | 53 65 6e 64 20 42 42 2c |Align.ws|Send BB,| |00002a80| 22 41 4c 49 47 4e 22 26 | 64 69 72 0d 65 6e 64 20 |"ALIGN"&|dir.end | |00002a90| 64 6f 41 6c 69 67 6e 0d | 6f 6e 20 64 6f 53 65 6c |doAlign.|on doSel| |00002aa0| 65 63 74 41 6c 6c 20 66 | 72 6f 6d 57 68 6f 0d 67 |ectAll f|romWho.g| |00002ab0| 6c 6f 62 61 6c 20 42 42 | 2c 50 50 0d 69 66 20 66 |lobal BB|,PP.if f| |00002ac0| 72 6f 6d 57 68 6f 3d 22 | 74 65 78 74 22 20 74 68 |romWho="|text" th| |00002ad0| 65 6e 0d 77 73 53 65 74 | 20 42 42 2c 31 2c 22 53 |en.wsSet| BB,1,"S| |00002ae0| 45 4c 45 43 54 49 4f 4e | 22 2c 22 30 2d 33 32 37 |ELECTION|","0-327| |00002af0| 36 37 22 0d 65 6c 73 65 | 20 69 66 20 66 72 6f 6d |67".else| if from| |00002b00| 57 68 6f 3d 50 50 20 74 | 68 65 6e 0d 70 75 74 20 |Who=PP t|hen.put | |00002b10| 77 73 47 65 74 28 50 50 | 2c 46 4f 43 55 53 29 20 |wsGet(PP|,FOCUS) | |00002b20| 69 6e 74 6f 20 70 70 46 | 6f 63 75 73 0d 77 73 53 |into ppF|ocus.wsS| |00002b30| 65 74 20 50 50 2c 70 70 | 46 6f 63 75 73 2c 22 53 |et PP,pp|Focus,"S| |00002b40| 45 4c 45 43 54 49 4f 4e | 22 2c 22 30 2d 33 32 37 |ELECTION|","0-327| |00002b50| 36 37 22 0d 65 6c 73 65 | 0d 70 75 74 20 77 73 47 |67".else|.put wsG| |00002b60| 65 74 28 42 42 2c 45 44 | 49 54 4d 4f 44 45 29 20 |et(BB,ED|ITMODE) | |00002b70| 69 6e 74 6f 20 74 68 65 | 4d 6f 64 65 0d 69 66 20 |into the|Mode.if | |00002b80| 74 68 65 4d 6f 64 65 3d | 22 50 4c 41 59 22 20 74 |theMode=|"PLAY" t| |00002b90| 68 65 6e 0d 70 75 74 20 | 77 73 47 65 74 28 42 42 |hen.put |wsGet(BB| |00002ba0| 2c 46 4f 43 55 53 29 20 | 69 6e 74 6f 20 62 62 46 |,FOCUS) |into bbF| |00002bb0| 6f 63 75 73 0d 77 73 53 | 65 74 20 42 42 2c 62 62 |ocus.wsS|et BB,bb| |00002bc0| 46 6f 63 75 73 2c 22 53 | 45 4c 45 43 54 49 4f 4e |Focus,"S|ELECTION| |00002bd0| 22 2c 22 30 2d 33 32 37 | 36 37 22 0d 65 6c 73 65 |","0-327|67".else| |00002be0| 0d 69 66 20 74 68 65 4d | 6f 64 65 ad 22 53 45 4c |.if theM|ode."SEL| |00002bf0| 45 43 54 22 20 74 68 65 | 6e 20 43 68 6f 6f 73 65 |ECT" the|n Choose| |00002c00| 54 6f 6f 6c 20 22 53 45 | 4c 45 43 54 22 0d 77 73 |Tool "SE|LECT".ws| |00002c10| 53 65 74 20 42 42 2c 22 | 53 45 4c 45 43 54 49 4f |Set BB,"|SELECTIO| |00002c20| 4e 22 2c 22 30 2d 33 32 | 37 36 37 22 0d 65 6e 64 |N","0-32|767".end| |00002c30| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 | if.end |if.end d| |00002c40| 6f 53 65 6c 65 63 74 41 | 6c 6c 0d 6f 6e 20 64 6f |oSelectA|ll.on do| |00002c50| 53 61 76 65 53 63 72 69 | 70 74 20 73 63 72 57 64 |SaveScri|pt scrWd| |00002c60| 0d 67 6c 6f 62 61 6c 20 | 69 74 65 6d 53 68 6f 77 |.global |itemShow| |00002c70| 6e 2c 74 79 70 65 53 68 | 6f 77 6e 0d 69 66 20 63 |n,typeSh|own.if c| |00002c80| 6f 6e 66 69 72 6d 52 65 | 66 28 73 63 72 57 64 29 |onfirmRe|f(scrWd)| |00002c90| ad 74 72 75 65 20 74 68 | 65 6e 20 72 65 74 75 72 |.true th|en retur| |00002ca0| 6e 20 22 4e 47 22 0d 70 | 75 74 20 78 4f 77 6e 65 |n "NG".p|ut xOwne| |00002cb0| 72 49 44 20 6f 66 20 77 | 69 6e 64 6f 77 20 73 63 |rID of w|indow sc| |00002cc0| 72 57 64 20 69 6e 74 6f | 20 6f 49 44 0d 70 75 74 |rWd into| oID.put| |00002cd0| 20 78 4f 77 6e 65 72 4e | 75 6d 62 65 72 20 6f 66 | xOwnerN|umber of| |00002ce0| 20 77 69 6e 64 6f 77 20 | 73 63 72 57 64 20 69 6e | window |scrWd in| |00002cf0| 74 6f 20 6f 4e 75 6d 62 | 65 72 0d 67 65 74 20 74 |to oNumb|er.get t| |00002d00| 68 65 53 63 72 69 70 74 | 5f 54 45 58 54 20 6f 66 |heScript|_TEXT of| |00002d10| 20 77 69 6e 64 6f 77 20 | 73 63 72 57 64 0d 77 73 | window |scrWd.ws| |00002d20| 53 65 74 20 6f 49 44 2c | 6f 4e 75 6d 62 65 72 2c |Set oID,|oNumber,| |00002d30| 22 53 43 52 49 50 54 22 | 2c 69 74 0d 53 65 74 20 |"SCRIPT"|,it.Set | |00002d40| 78 4f 6c 64 53 63 72 69 | 70 74 20 6f 66 20 77 69 |xOldScri|pt of wi| |00002d50| 6e 64 6f 77 20 73 63 72 | 57 64 20 74 6f 20 69 74 |ndow scr|Wd to it| |00002d60| 0d 69 66 20 67 57 69 6e | 64 6f 77 3d 77 73 47 65 |.if gWin|dow=wsGe| |00002d70| 74 28 6f 49 44 2c 22 4e | 41 4d 45 22 29 20 61 6e |t(oID,"N|AME") an| |00002d80| 64 20 69 74 65 6d 53 68 | 6f 77 6e 3d 6f 4e 75 6d |d itemSh|own=oNum| |00002d90| 62 65 72 20 61 6e 64 20 | 74 79 70 65 53 68 6f 77 |ber and |typeShow| |00002da0| 6e 3d 22 53 63 72 69 70 | 74 22 0d 74 68 65 6e 20 |n="Scrip|t".then | |00002db0| 73 65 74 34 69 74 65 6d | 20 69 74 65 6d 53 68 6f |set4item| itemSho| |00002dc0| 77 6e 0d 77 73 53 65 74 | 20 6f 49 44 2c 22 78 44 |wn.wsSet| oID,"xD| |00002dd0| 69 72 74 22 2c 54 52 55 | 45 0d 65 6e 64 20 64 6f |irt",TRU|E.end do| |00002de0| 53 61 76 65 53 63 72 69 | 70 74 0d 6f 6e 20 64 6f |SaveScri|pt.on do| |00002df0| 47 72 69 64 0d 67 6c 6f | 62 61 6c 20 42 42 0d 77 |Grid.glo|bal BB.w| |00002e00| 73 53 65 74 20 42 42 2c | 22 53 4e 41 50 22 2c 6e |sSet BB,|"SNAP",n| |00002e10| 6f 74 20 77 73 47 65 74 | 28 42 42 2c 22 53 4e 41 |ot wsGet|(BB,"SNA| |00002e20| 50 22 29 0d 6d 65 6e 75 | 53 65 74 20 22 4f 62 6a |P").menu|Set "Obj| |00002e30| 65 63 74 73 22 2c 22 47 | 72 69 64 22 2c 22 43 48 |ects","G|rid","CH| |00002e40| 45 43 4b 4d 41 52 4b 22 | 2c 77 73 47 65 74 28 42 |ECKMARK"|,wsGet(B| |00002e50| 42 2c 22 53 4e 41 50 22 | 29 0d 65 6e 64 20 64 6f |B,"SNAP"|).end do| |00002e60| 47 72 69 64 0d 6f 6e 20 | 64 6f 44 75 70 0d 67 6c |Grid.on |doDup.gl| |00002e70| 6f 62 61 6c 20 42 42 0d | 69 66 20 65 64 69 74 6d |obal BB.|if editm| |00002e80| 6f 64 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 42 42 |ode of w|indow BB| |00002e90| ad 22 73 65 6c 65 63 74 | 22 20 74 68 65 6e 20 65 |."select|" then e| |00002ea0| 78 69 74 20 64 6f 44 75 | 70 0d 73 65 74 20 70 72 |xit doDu|p.set pr| |00002eb0| 6f 70 65 72 74 69 65 73 | 20 6f 66 20 77 69 6e 64 |operties| of wind| |00002ec0| 6f 77 20 42 42 20 74 6f | 20 77 73 44 65 73 63 72 |ow BB to| wsDescr| |00002ed0| 69 62 65 28 42 42 2c 2d | 39 39 29 0d 73 65 74 34 |ibe(BB,-|99).set4| |00002ee0| 69 74 65 6d 20 2d 32 2c | 54 52 55 45 0d 44 69 72 |item -2,|TRUE.Dir| |00002ef0| 74 79 0d 65 6e 64 20 64 | 6f 44 75 70 0d 6f 6e 20 |ty.end d|oDup.on | |00002f00| 64 6f 46 61 72 74 68 65 | 72 0d 67 6c 6f 62 61 6c |doFarthe|r.global| |00002f10| 20 42 42 0d 69 66 20 65 | 64 69 74 6d 6f 64 65 20 | BB.if e|ditmode | |00002f20| 6f 66 20 77 69 6e 64 6f | 77 20 42 42 ad 22 73 65 |of windo|w BB."se| |00002f30| 6c 65 63 74 22 20 74 68 | 65 6e 20 65 78 69 74 20 |lect" th|en exit | |00002f40| 64 6f 46 61 72 74 68 65 | 72 0d 67 65 74 20 69 30 |doFarthe|r.get i0| |00002f50| 5f 73 65 6c 65 63 74 69 | 6f 6e 20 6f 66 20 77 69 |_selecti|on of wi| |00002f60| 6e 64 6f 77 20 42 42 0d | 69 66 20 69 74 3d 22 22 |ndow BB.|if it=""| |00002f70| 20 74 68 65 6e 0d 62 6f | 6e 6b 20 74 68 65 20 70 | then.bo|nk the p| |00002f80| 61 72 61 6d 73 0d 65 78 | 69 74 20 64 6f 46 61 72 |arams.ex|it doFar| |00002f90| 74 68 65 72 0d 65 6e 64 | 20 69 66 0d 72 65 70 65 |ther.end| if.repe| |00002fa0| 61 74 20 77 69 74 68 20 | 78 3d 31 20 74 6f 20 6e |at with |x=1 to n| |00002fb0| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 69 |umber of| items i| |00002fc0| 6e 20 69 74 0d 70 75 74 | 20 69 74 65 6d 20 78 20 |n it.put| item x | |00002fd0| 6f 66 20 69 74 20 69 6e | 74 6f 20 74 68 65 49 74 |of it in|to theIt| |00002fe0| 65 6d 0d 69 66 20 74 68 | 65 49 74 65 6d 20 3e 20 |em.if th|eItem > | |00002ff0| 31 0d 74 68 65 6e 20 77 | 73 53 65 74 20 42 42 2c |1.then w|sSet BB,| |00003000| 74 68 65 49 74 65 6d 2c | 22 4e 55 4d 42 45 52 22 |theItem,|"NUMBER"| |00003010| 2c 74 68 65 49 74 65 6d | 2d 31 0d 65 6e 64 20 72 |,theItem|-1.end r| |00003020| 65 70 65 61 74 0d 73 65 | 74 34 69 74 65 6d 20 2d |epeat.se|t4item -| |00003030| 31 2c 54 52 55 45 0d 44 | 69 72 74 79 0d 65 6e 64 |1,TRUE.D|irty.end| |00003040| 20 64 6f 46 61 72 74 68 | 65 72 0d 6f 6e 20 64 6f | doFarth|er.on do| |00003050| 43 6c 6f 73 65 72 0d 67 | 6c 6f 62 61 6c 20 42 42 |Closer.g|lobal BB| |00003060| 0d 69 66 20 65 64 69 74 | 6d 6f 64 65 20 6f 66 20 |.if edit|mode of | |00003070| 77 69 6e 64 6f 77 20 42 | 42 ad 22 73 65 6c 65 63 |window B|B."selec| |00003080| 74 22 20 74 68 65 6e 20 | 65 78 69 74 20 64 6f 43 |t" then |exit doC| |00003090| 6c 6f 73 65 72 0d 67 65 | 74 20 69 30 5f 73 65 6c |loser.ge|t i0_sel| |000030a0| 65 63 74 69 6f 6e 20 6f | 66 20 77 69 6e 64 6f 77 |ection o|f window| |000030b0| 20 42 42 0d 69 66 20 69 | 74 3d 22 22 20 74 68 65 | BB.if i|t="" the| |000030c0| 6e 0d 62 6f 6e 6b 20 74 | 68 65 20 70 61 72 61 6d |n.bonk t|he param| |000030d0| 73 0d 65 78 69 74 20 64 | 6f 43 6c 6f 73 65 72 0d |s.exit d|oCloser.| |000030e0| 65 6e 64 20 69 66 0d 70 | 75 74 20 6e 75 6d 62 65 |end if.p|ut numbe| |000030f0| 72 6f 66 69 74 65 6d 73 | 20 6f 66 20 77 69 6e 64 |rofitems| of wind| |00003100| 6f 77 20 42 42 20 69 6e | 74 6f 20 69 74 65 6d 43 |ow BB in|to itemC| |00003110| 6f 75 6e 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ount.rep|eat with| |00003120| 20 78 3d 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 | x=numbe|r of ite| |00003130| 6d 73 20 69 6e 20 69 74 | 20 64 6f 77 6e 20 74 6f |ms in it| down to| |00003140| 20 31 0d 70 75 74 20 69 | 74 65 6d 20 78 20 6f 66 | 1.put i|tem x of| |00003150| 20 69 74 20 69 6e 74 6f | 20 74 68 65 49 74 65 6d | it into| theItem| |00003160| 0d 69 66 20 74 68 65 49 | 74 65 6d 20 3c 20 69 74 |.if theI|tem < it| |00003170| 65 6d 43 6f 75 6e 74 0d | 74 68 65 6e 20 77 73 53 |emCount.|then wsS| |00003180| 65 74 20 42 42 2c 74 68 | 65 49 74 65 6d 2c 22 4e |et BB,th|eItem,"N| |00003190| 55 4d 42 45 52 22 2c 74 | 68 65 49 74 65 6d 2b 31 |UMBER",t|heItem+1| |000031a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 73 65 74 34 |.end rep|eat.set4| |000031b0| 69 74 65 6d 20 2d 31 2c | 54 52 55 45 0d 44 69 72 |item -1,|TRUE.Dir| |000031c0| 74 79 0d 65 6e 64 20 64 | 6f 43 6c 6f 73 65 72 0d |ty.end d|oCloser.| |000031d0| 66 75 6e 63 74 69 6f 6e | 20 4e 65 77 49 74 65 6d |function| NewItem| |000031e0| 44 65 73 63 20 72 2c 74 | 0d 67 6c 6f 62 61 6c 20 |Desc r,t|.global | |000031f0| 42 42 2c 43 52 2c 50 54 | 0d 69 66 20 74 3d 22 22 |BB,CR,PT|.if t=""| |00003200| 20 74 68 65 6e 20 69 66 | 20 74 68 65 72 65 20 69 | then if| there i| |00003210| 73 20 61 20 77 69 6e 64 | 6f 77 20 50 54 20 74 68 |s a wind|ow PT th| |00003220| 65 6e 20 70 75 74 20 69 | 33 5f 53 65 6c 65 63 74 |en put i|3_Select| |00003230| 69 6f 6e 20 6f 66 20 77 | 69 6e 64 6f 77 20 50 54 |ion of w|indow PT| |00003240| 20 69 6e 74 6f 20 74 0d | 69 66 20 74 3d 22 22 20 | into t.|if t="" | |00003250| 74 68 65 6e 0d 62 6f 6e | 6b 20 74 68 65 20 70 61 |then.bon|k the pa| |00003260| 72 61 6d 73 0d 72 65 74 | 75 72 6e 20 22 22 0d 65 |rams.ret|urn "".e| |00003270| 6e 64 20 69 66 0d 67 65 | 74 20 22 22 0d 69 66 20 |nd if.ge|t "".if | |00003280| 74 20 3d 31 20 74 68 65 | 6e 0d 67 65 74 20 77 73 |t =1 the|n.get ws| |00003290| 47 65 74 28 42 42 2c 69 | 74 65 6d 4c 69 73 74 29 |Get(BB,i|temList)| |000032a0| 0d 70 75 74 20 6f 66 66 | 73 65 74 28 22 50 55 53 |.put off|set("PUS| |000032b0| 48 22 2c 69 74 29 20 69 | 6e 74 6f 20 64 0d 69 66 |H",it) i|nto d.if| |000032c0| 20 64 3d 30 20 74 68 65 | 6e 20 67 65 74 20 22 4e | d=0 the|n get "N| |000032d0| 61 6d 65 3a 4f 4b 22 26 | 43 52 26 22 44 65 66 61 |ame:OK"&|CR&"Defa| |000032e0| 75 6c 74 49 74 65 6d 3a | 54 52 55 45 22 26 43 52 |ultItem:|TRUE"&CR| |000032f0| 26 22 41 75 74 6f 43 6c | 6f 73 65 3a 54 52 55 45 |&"AutoCl|ose:TRUE| |00003300| 22 0d 65 6c 73 65 20 69 | 66 20 6f 66 66 73 65 74 |".else i|f offset| |00003310| 28 22 50 55 53 48 22 2c | 63 68 61 72 20 64 2b 31 |("PUSH",|char d+1| |00003320| 20 74 6f 20 33 32 30 30 | 30 20 6f 66 20 69 74 29 | to 3200|0 of it)| |00003330| 3d 30 0d 74 68 65 6e 20 | 67 65 74 20 22 4e 61 6d |=0.then |get "Nam| |00003340| 65 3a 43 61 6e 63 65 6c | 22 26 43 52 26 22 43 61 |e:Cancel|"&CR&"Ca| |00003350| 6e 63 65 6c 49 74 65 6d | 3a 54 52 55 45 22 26 43 |ncelItem|:TRUE"&C| |00003360| 52 26 22 41 75 74 6f 43 | 6c 6f 73 65 3a 54 52 55 |R&"AutoC|lose:TRU| |00003370| 45 22 0d 65 6c 73 65 20 | 67 65 74 20 22 4e 61 6d |E".else |get "Nam| |00003380| 65 3a 55 6e 74 69 74 6c | 65 64 22 0d 65 6c 73 65 |e:Untitl|ed".else| |00003390| 20 69 66 20 74 20 69 73 | 20 69 6e 20 22 32 2c 33 | if t is| in "2,3| |000033a0| 2c 37 2c 38 2c 39 22 20 | 74 68 65 6e 20 67 65 74 |,7,8,9" |then get| |000033b0| 20 22 4e 61 6d 65 3a 55 | 6e 74 69 74 6c 65 64 22 | "Name:U|ntitled"| |000033c0| 0d 65 6c 73 65 20 69 66 | 20 74 3d 34 20 74 68 65 |.else if| t=4 the| |000033d0| 6e 20 67 65 74 20 22 54 | 65 78 74 3a 4c 61 62 65 |n get "T|ext:Labe| |000033e0| 6c 22 0d 65 6c 73 65 20 | 69 66 20 74 3d 35 20 74 |l".else |if t=5 t| |000033f0| 68 65 6e 20 67 65 74 20 | 22 54 65 78 74 3a 54 65 |hen get |"Text:Te| |00003400| 78 74 22 0d 65 6c 73 65 | 20 69 66 20 74 3d 36 20 |xt".else| if t=6 | |00003410| 74 68 65 6e 20 67 65 74 | 20 22 4c 6f 63 6b 54 65 |then get| "LockTe| |00003420| 78 74 3a 46 41 4c 53 45 | 22 0d 72 65 74 75 72 6e |xt:FALSE|".return| |00003430| 20 28 22 49 74 65 6d 54 | 79 70 65 3a 20 22 26 69 | ("ItemT|ype: "&i| |00003440| 74 65 6d 20 74 20 6f 66 | 20 22 50 55 53 48 2c 52 |tem t of| "PUSH,R| |00003450| 41 44 2c 43 48 4b 2c 4c | 42 4c 2c 54 45 58 54 2c |AD,CHK,L|BL,TEXT,| |00003460| 54 45 58 54 2c 49 43 4f | 4e 2c 50 49 43 54 2c 4d |TEXT,ICO|N,PICT,M| |00003470| 4f 4f 56 2c 4c 49 53 54 | 2c 50 4f 50 2c 43 4e 54 |OOV,LIST|,POP,CNT| |00003480| 4c 2c 42 4f 58 2c 52 42 | 4f 58 2c 4c 49 4e 45 2c |L,BOX,RB|OX,LINE,| |00003490| 4d 4f 4f 56 22 29 20 c2 | 0d 26 43 52 26 69 74 26 |MOOV") .|.&CR&it&| |000034a0| 43 52 26 22 52 65 63 74 | 3a 20 22 26 72 0d 65 6e |CR&"Rect|: "&r.en| |000034b0| 64 20 4e 65 77 49 74 65 | 6d 44 65 73 63 0d 6f 6e |d NewIte|mDesc.on| |000034c0| 20 73 65 74 34 49 74 65 | 6d 20 69 2c 6e 65 77 4c | set4Ite|m i,newL| |000034d0| 69 73 74 0d 67 6c 6f 62 | 61 6c 20 74 79 70 65 53 |ist.glob|al typeS| |000034e0| 68 6f 77 6e 2c 69 74 65 | 6d 53 68 6f 77 6e 2c 50 |hown,ite|mShown,P| |000034f0| 50 49 44 2c 42 42 0d 73 | 65 74 20 63 75 72 73 6f |PID,BB.s|et curso| |00003500| 72 20 74 6f 20 77 61 74 | 63 68 0d 69 66 20 50 50 |r to wat|ch.if PP| |00003510| 49 44 3d 22 22 20 74 68 | 65 6e 20 6d 61 6b 65 50 |ID="" th|en makeP| |00003520| 61 6c 73 0d 70 75 74 20 | 70 70 69 64 20 69 6e 74 |als.put |ppid int| |00003530| 6f 20 74 68 65 49 44 0d | 70 75 74 20 74 79 70 65 |o theID.|put type| |00003540| 53 68 6f 77 6e 20 69 6e | 74 6f 20 6f 6c 64 54 79 |Shown in|to oldTy| |00003550| 70 65 0d 67 65 74 20 77 | 73 47 65 74 28 42 42 2c |pe.get w|sGet(BB,| |00003560| 22 49 44 22 29 0d 73 65 | 74 50 69 63 6b 65 72 20 |"ID").se|tPicker | |00003570| 69 74 2c 74 68 65 49 44 | 2c 69 2c 6e 65 77 4c 69 |it,theID|,i,newLi| |00003580| 73 74 2c 6f 6c 64 54 79 | 70 65 0d 65 6e 64 20 73 |st,oldTy|pe.end s| |00003590| 65 74 34 49 74 65 6d 0d | 6f 6e 20 63 6b 53 6b 0d |et4Item.|on ckSk.| |000035a0| 69 66 20 73 74 61 63 6b | 73 70 61 63 65 28 29 3c |if stack|space()<| |000035b0| 33 30 33 36 20 74 68 65 | 6e 0d 62 6f 6e 6b 20 74 |3036 the|n.bonk t| |000035c0| 68 65 20 70 61 72 61 6d | 73 0d 65 78 69 74 20 63 |he param|s.exit c| |000035d0| 6b 53 6b 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 |kSk.end |if.end c| |000035e0| 6b 53 6b 0d 6f 6e 20 6f | 75 63 68 20 77 49 44 2c |kSk.on o|uch wID,| |000035f0| 77 4e 61 6d 65 2c 69 2c | 6e 6d 2c 76 0d 63 6b 53 |wName,i,|nm,v.ckS| |00003600| 6b 0d 67 6c 6f 62 61 6c | 20 74 79 70 65 53 68 6f |k.global| typeSho| |00003610| 77 6e 2c 69 74 65 6d 53 | 68 6f 77 6e 2c 42 42 2c |wn,itemS|hown,BB,| |00003620| 50 50 2c 43 52 2c 70 70 | 52 65 63 74 2c 70 70 54 |PP,CR,pp|Rect,ppT| |00003630| 4c 2c 70 70 56 69 73 2c | 42 57 2c 67 4c 61 73 74 |L,ppVis,|BW,gLast| |00003640| 57 64 2c 50 50 49 44 0d | 69 66 20 6e 6d 3d 22 54 |Wd,PPID.|if nm="T| |00003650| 65 78 74 53 69 7a 65 22 | 20 61 6e 64 20 76 3d 22 |extSize"| and v="| |00003660| 4f 74 68 65 72 c9 22 20 | 74 68 65 6e 0d 70 75 74 |Other." |then.put| |00003670| 20 77 73 47 65 74 28 42 | 42 2c 69 74 65 6d 53 68 | wsGet(B|B,itemSh| |00003680| 6f 77 6e 2c 22 54 45 58 | 54 53 49 5a 45 22 29 20 |own,"TEX|TSIZE") | |00003690| 69 6e 74 6f 20 76 0d 61 | 73 6b 20 22 53 69 7a 65 |into v.a|sk "Size| |000036a0| 3f 22 20 77 69 74 68 20 | 76 0d 69 66 20 69 74 ad |?" with |v.if it.| |000036b0| 22 22 20 74 68 65 6e 20 | 70 75 74 20 69 74 20 69 |"" then |put it i| |000036c0| 6e 74 6f 20 76 0d 70 75 | 74 20 76 20 69 6e 74 6f |nto v.pu|t v into| |000036d0| 20 76 0d 73 65 74 20 54 | 65 78 74 53 69 7a 65 5f | v.set T|extSize_| |000036e0| 53 45 4c 45 43 54 49 4f | 4e 54 45 58 54 20 6f 66 |SELECTIO|NTEXT of| |000036f0| 20 77 69 6e 64 6f 77 20 | 50 50 20 74 6f 20 76 0d | window |PP to v.| |00003700| 65 6e 64 20 69 66 0d 69 | 66 20 69 3d 2d 31 20 74 |end if.i|f i=-1 t| |00003710| 68 65 6e 0d 64 6f 42 42 | 4d 65 6e 75 20 6e 6d 2c |hen.doBB|Menu nm,| |00003720| 76 2c 50 50 0d 65 6c 73 | 65 20 69 66 20 69 3d 30 |v,PP.els|e if i=0| |00003730| 20 74 68 65 6e 0d 69 66 | 20 76 3d 22 43 6c 6f 73 | then.if| v="Clos| |00003740| 65 42 6f 78 22 20 74 68 | 65 6e 0d 77 73 53 65 74 |eBox" th|en.wsSet| |00003750| 20 50 50 2c 22 56 49 53 | 49 42 4c 45 22 2c 46 41 | PP,"VIS|IBLE",FA| |00003760| 4c 53 45 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |LSE.put |false in| |00003770| 74 6f 20 70 70 56 69 73 | 0d 6f 75 63 68 20 30 2c |to ppVis|.ouch 0,| |00003780| 50 50 2c 32 2c 22 48 69 | 64 65 50 72 6f 70 22 0d |PP,2,"Hi|deProp".| |00003790| 72 65 74 75 72 6e 20 22 | 4e 47 22 0d 65 6c 73 65 |return "|NG".else| |000037a0| 20 69 66 20 76 3d 22 43 | 6c 6f 73 65 22 20 74 68 | if v="C|lose" th| |000037b0| 65 6e 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 50 |en.put "|" into P| |000037c0| 50 49 44 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |PID.end |if.else | |000037d0| 69 66 20 6e 6d 3d 22 49 | 74 65 6d 4c 69 73 74 22 |if nm="I|temList"| |000037e0| 20 74 68 65 6e 0d 67 65 | 74 20 69 34 5f 53 65 6c | then.ge|t i4_Sel| |000037f0| 65 63 74 69 6f 6e 20 6f | 66 20 77 69 6e 64 6f 77 |ection o|f window| |00003800| 20 50 50 0d 69 66 20 69 | 74 3d 22 22 20 74 68 65 | PP.if i|t="" the| |00003810| 6e 20 73 65 74 34 69 74 | 65 6d 20 2d 31 20 65 6c |n set4it|em -1 el| |00003820| 73 65 0d 69 66 20 69 74 | ad 76 20 74 68 65 6e 20 |se.if it|.v then | |00003830| 73 65 74 20 70 72 6f 70 | 65 72 74 69 65 73 20 6f |set prop|erties o| |00003840| 66 20 77 69 6e 64 6f 77 | 20 42 42 20 74 6f 20 22 |f window| BB to "| |00003850| 69 22 26 28 76 2d 31 29 | 26 22 5f 4e 75 6d 62 65 |i"&(v-1)|&"_Numbe| |00003860| 72 3a 22 26 26 28 69 74 | 2d 31 29 0d 73 65 74 20 |r:"&&(it|-1).set | |00003870| 69 30 5f 73 65 6c 65 63 | 74 69 6f 6e 20 6f 66 20 |i0_selec|tion of | |00003880| 77 69 6e 64 6f 77 20 42 | 42 20 74 6f 20 28 69 74 |window B|B to (it| |00003890| 2d 31 29 0d 73 65 74 34 | 69 74 65 6d 20 28 49 54 |-1).set4|item (IT| |000038a0| 2d 31 29 0d 65 6e 64 20 | 69 66 0d 65 78 69 74 20 |-1).end |if.exit | |000038b0| 6f 75 63 68 0d 65 6c 73 | 65 20 69 66 20 69 3d 32 |ouch.els|e if i=2| |000038c0| 20 61 6e 64 20 22 73 68 | 6f 77 22 20 69 73 20 69 | and "sh|ow" is i| |000038d0| 6e 20 6e 6d 20 74 68 65 | 6e 0d 69 66 20 77 69 64 |n nm the|n.if wid| |000038e0| 74 68 20 6f 66 20 77 69 | 6e 64 6f 77 20 50 50 20 |th of wi|ndow PP | |000038f0| 3c 20 31 30 35 20 74 68 | 65 6e 20 70 75 74 20 72 |< 105 th|en put r| |00003900| 65 63 74 20 6f 66 20 77 | 69 6e 64 6f 77 20 50 50 |ect of w|indow PP| |00003910| 20 69 6e 74 6f 20 70 70 | 52 65 63 74 0d 77 73 53 | into pp|Rect.wsS| |00003920| 65 74 20 50 50 2c 22 50 | 52 4f 50 45 52 54 49 45 |et PP,"P|ROPERTIE| |00003930| 53 22 2c 22 69 32 5f 4e | 41 4d 45 3a 48 69 64 65 |S","i2_N|AME:Hide| |00003940| 50 72 6f 70 22 26 42 57 | 26 43 52 26 22 69 30 5f |Prop"&BW|&CR&"i0_| |00003950| 57 49 44 54 48 3a 33 36 | 36 22 26 43 52 26 22 56 |WIDTH:36|6"&CR&"V| |00003960| 49 53 49 42 4c 45 3a 54 | 52 55 45 22 26 43 52 26 |ISIBLE:T|RUE"&CR&| |00003970| 22 42 52 49 4e 47 54 4f | 46 52 4f 4e 54 22 0d 70 |"BRINGTO|FRONT".p| |00003980| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 70 70 56 |ut true |into ppV| |00003990| 69 73 0d 73 65 74 34 49 | 74 65 6d 20 2d 33 0d 70 |is.set4I|tem -3.p| |000039a0| 75 74 20 74 6f 70 4c 65 | 66 74 20 6f 66 20 77 69 |ut topLe|ft of wi| |000039b0| 6e 64 6f 77 20 50 50 20 | 69 6e 74 6f 20 70 70 54 |ndow PP |into ppT| |000039c0| 4c 0d 6d 65 6e 75 53 65 | 74 20 22 4f 62 6a 65 63 |L.menuSe|t "Objec| |000039d0| 74 73 22 2c 31 2c 22 4e | 41 4d 45 22 2c 22 48 69 |ts",1,"N|AME","Hi| |000039e0| 64 65 20 49 6e 66 6f 22 | 0d 65 78 69 74 20 6f 75 |de Info"|.exit ou| |000039f0| 63 68 0d 65 6c 73 65 20 | 69 66 20 69 3d 32 20 61 |ch.else |if i=2 a| |00003a00| 6e 64 20 22 68 69 64 65 | 22 20 69 73 20 69 6e 20 |nd "hide|" is in | |00003a10| 6e 6d 20 74 68 65 6e 0d | 69 66 20 74 6f 70 4c 65 |nm then.|if topLe| |00003a20| 66 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 50 50 20 |ft of wi|ndow PP | |00003a30| 3d 20 70 70 54 4c 20 74 | 68 65 6e 20 67 65 74 20 |= ppTL t|hen get | |00003a40| 22 69 30 5f 52 65 63 74 | 3a 22 26 70 70 52 65 63 |"i0_Rect|:"&ppRec| |00003a50| 74 20 65 6c 73 65 20 67 | 65 74 20 22 69 30 5f 77 |t else g|et "i0_w| |00003a60| 69 64 74 68 3a 31 30 30 | 22 0d 77 73 53 65 74 20 |idth:100|".wsSet | |00003a70| 50 50 2c 22 50 52 4f 50 | 45 52 54 49 45 53 22 2c |PP,"PROP|ERTIES",| |00003a80| 69 74 26 43 52 26 22 69 | 32 5f 4e 41 4d 45 3a 53 |it&CR&"i|2_NAME:S| |00003a90| 68 6f 77 50 72 6f 70 22 | 26 42 57 0d 73 65 74 34 |howProp"|&BW.set4| |00003aa0| 49 74 65 6d 20 2d 33 0d | 77 73 53 65 74 20 42 42 |Item -3.|wsSet BB| |00003ab0| 2c 22 46 4f 43 55 53 22 | 2c 77 73 47 65 74 28 42 |,"FOCUS"|,wsGet(B| |00003ac0| 42 2c 46 4f 43 55 53 29 | 0d 6d 65 6e 75 53 65 74 |B,FOCUS)|.menuSet| |00003ad0| 20 22 4f 62 6a 65 63 74 | 73 22 2c 31 2c 22 4e 41 | "Object|s",1,"NA| |00003ae0| 4d 45 22 2c 22 53 68 6f | 77 20 49 6e 66 6f 22 0d |ME","Sho|w Info".| |00003af0| 65 78 69 74 20 6f 75 63 | 68 0d 65 6c 73 65 20 69 |exit ouc|h.else i| |00003b00| 66 20 6e 6d 3d 22 5a 6f | 6f 6d 65 72 22 20 74 68 |f nm="Zo|omer" th| |00003b10| 65 6e 0d 69 66 20 77 69 | 64 74 68 20 6f 66 20 77 |en.if wi|dth of w| |00003b20| 69 6e 64 6f 77 20 50 50 | 20 3c 20 31 30 35 0d 74 |indow PP| < 105.t| |00003b30| 68 65 6e 20 6f 75 63 68 | 20 30 2c 50 50 2c 32 2c |hen ouch| 0,PP,2,| |00003b40| 22 53 68 6f 77 50 72 6f | 70 22 0d 65 6c 73 65 20 |"ShowPro|p".else | |00003b50| 6f 75 63 68 20 30 2c 50 | 50 2c 32 2c 22 48 69 64 |ouch 0,P|P,2,"Hid| |00003b60| 65 50 72 6f 70 22 0d 65 | 6c 73 65 20 69 66 20 6e |eProp".e|lse if n| |00003b70| 6d 3d 22 4e 61 6d 65 22 | 20 74 68 65 6e 0d 69 66 |m="Name"| then.if| |00003b80| 20 69 74 65 6d 53 68 6f | 77 6e 3d 30 20 74 68 65 | itemSho|wn=0 the| |00003b90| 6e 0d 69 66 20 76 3d 22 | 22 20 74 68 65 6e 20 72 |n.if v="|" then r| |00003ba0| 65 74 75 72 6e 20 22 4e | 47 22 0d 69 66 20 76 ad |eturn "N|G".if v.| |00003bb0| 42 42 20 74 68 65 6e 20 | 69 66 20 63 68 6b 34 64 |BB then |if chk4d| |00003bc0| 75 70 28 76 2c 66 61 6c | 73 65 29 20 74 68 65 6e |up(v,fal|se) then| |00003bd0| 20 72 65 74 75 72 6e 20 | 22 4e 47 22 0d 77 73 53 | return |"NG".wsS| |00003be0| 65 74 20 42 42 2c 49 74 | 65 6d 53 68 6f 77 6e 2c |et BB,It|emShown,| |00003bf0| 6e 6d 2c 76 0d 6d 65 6e | 75 53 65 74 20 22 47 6f |nm,v.men|uSet "Go| |00003c00| 22 2c 42 42 2c 22 4e 41 | 4d 45 22 2c 76 0d 69 66 |",BB,"NA|ME",v.if| |00003c10| 20 67 4c 61 73 74 57 64 | 3d 42 42 20 74 68 65 6e | gLastWd|=BB then| |00003c20| 20 70 75 74 20 76 20 69 | 6e 74 6f 20 67 4c 61 73 | put v i|nto gLas| |00003c30| 74 57 64 0d 70 75 74 20 | 76 20 69 6e 74 6f 20 42 |tWd.put |v into B| |00003c40| 42 0d 65 6c 73 65 20 77 | 73 53 65 74 20 42 42 2c |B.else w|sSet BB,| |00003c50| 49 74 65 6d 53 68 6f 77 | 6e 2c 6e 6d 2c 76 0d 44 |ItemShow|n,nm,v.D| |00003c60| 69 72 74 79 0d 53 65 74 | 20 49 34 5f 54 65 78 74 |irty.Set| I4_Text| |00003c70| 4f 66 53 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 77 |OfSelect|ion of w| |00003c80| 69 6e 64 6f 77 20 50 50 | 20 74 6f 20 28 63 68 61 |indow PP| to (cha| |00003c90| 72 20 31 20 74 6f 20 34 | 20 6f 66 28 77 73 47 65 |r 1 to 4| of(wsGe| |00003ca0| 74 28 42 42 2c 69 74 65 | 6d 53 68 6f 77 6e 2c 22 |t(BB,ite|mShown,"| |00003cb0| 49 74 65 6d 54 79 70 65 | 22 29 26 22 20 22 29 29 |ItemType|")&" "))| |00003cc0| 26 26 77 73 47 65 74 28 | 42 42 2c 69 74 65 6d 53 |&&wsGet(|BB,itemS| |00003cd0| 68 6f 77 6e 2c 22 4e 61 | 6d 65 22 29 0d 69 66 20 |hown,"Na|me").if | |00003ce0| 74 79 70 65 53 68 6f 77 | 6e 3d 22 49 43 4f 4e 22 |typeShow|n="ICON"| |00003cf0| 20 6f 72 20 54 79 70 65 | 53 68 6f 77 6e 3d 22 50 | or Type|Shown="P| |00003d00| 49 43 54 22 20 6f 72 20 | 54 79 70 65 53 68 6f 77 |ICT" or |TypeShow| |00003d10| 6e 3d 22 49 43 4e 23 22 | 20 74 68 65 6e 0d 73 65 |n="ICN#"| then.se| |00003d20| 74 20 69 64 5f 73 65 6c | 65 63 74 69 6f 6e 74 65 |t id_sel|ectionte| |00003d30| 78 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 70 70 20 |xt of wi|ndow pp | |00003d40| 74 6f 20 77 73 47 65 74 | 28 42 42 2c 69 74 65 6d |to wsGet|(BB,item| |00003d50| 53 68 6f 77 6e 2c 22 49 | 44 22 29 0d 65 6e 64 20 |Shown,"I|D").end | |00003d60| 69 66 0d 65 6c 73 65 20 | 69 66 20 6e 6d 3d 22 43 |if.else |if nm="C| |00003d70| 68 6f 6f 73 65 c9 22 20 | 74 68 65 6e 0d 61 6e 73 |hoose." |then.ans| |00003d80| 77 65 72 20 66 69 6c 65 | 20 22 22 0d 69 66 20 69 |wer file| "".if i| |00003d90| 74 ad 22 22 20 74 68 65 | 6e 0d 77 73 53 65 74 20 |t."" the|n.wsSet | |00003da0| 42 42 2c 49 74 65 6d 53 | 68 6f 77 6e 2c 22 46 49 |BB,ItemS|hown,"FI| |00003db0| 4c 45 22 2c 69 74 0d 77 | 73 53 65 74 20 50 50 2c |LE",it.w|sSet PP,| |00003dc0| 22 46 49 4c 45 22 2c 22 | 54 45 58 54 22 2c 69 74 |"FILE","|TEXT",it| |00003dd0| 0d 44 69 72 74 79 0d 65 | 6e 64 20 69 66 0d 65 6c |.Dirty.e|nd if.el| |00003de0| 73 65 20 69 66 20 6e 6d | 3d 22 54 45 58 54 22 20 |se if nm|="TEXT" | |00003df0| 74 68 65 6e 0d 77 73 53 | 65 74 20 42 42 2c 49 74 |then.wsS|et BB,It| |00003e00| 65 6d 53 68 6f 77 6e 2c | 6e 6d 2c 77 73 47 65 74 |emShown,|nm,wsGet| |00003e10| 28 50 50 2c 69 2c 22 54 | 45 58 54 22 29 0d 44 69 |(PP,i,"T|EXT").Di| |00003e20| 72 74 79 0d 65 6c 73 65 | 20 69 66 20 6e 6d 3d 22 |rty.else| if nm="| |00003e30| 53 63 72 69 70 74 22 20 | 74 68 65 6e 0d 73 65 74 |Script" |then.set| |00003e40| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch| |00003e50| 0d 66 6f 72 6d 61 74 73 | 63 72 69 70 74 20 77 73 |.formats|cript ws| |00003e60| 47 65 74 28 50 50 2c 69 | 2c 22 48 41 4e 44 4c 45 |Get(PP,i|,"HANDLE| |00003e70| 22 29 0d 77 73 53 65 74 | 20 42 42 2c 49 74 65 6d |").wsSet| BB,Item| |00003e80| 53 68 6f 77 6e 2c 6e 6d | 2c 77 73 47 65 74 28 50 |Shown,nm|,wsGet(P| |00003e90| 50 2c 69 2c 22 54 45 58 | 54 22 29 0d 44 69 72 74 |P,i,"TEX|T").Dirt| |00003ea0| 79 0d 65 6c 73 65 20 69 | 66 20 69 74 65 6d 53 68 |y.else i|f itemSh| |00003eb0| 6f 77 6e ad 22 22 20 74 | 68 65 6e 0d 77 73 53 65 |own."" t|hen.wsSe| |00003ec0| 74 20 42 42 2c 49 74 65 | 6d 53 68 6f 77 6e 2c 6e |t BB,Ite|mShown,n| |00003ed0| 6d 2c 76 0d 44 69 72 74 | 79 0d 65 6e 64 20 69 66 |m,v.Dirt|y.end if| |00003ee0| 0d 69 66 20 6e 6d 3d 22 | 50 6c 61 69 6e 22 20 74 |.if nm="|Plain" t| |00003ef0| 68 65 6e 0d 69 66 20 76 | 3d 74 72 75 65 0d 74 68 |hen.if v|=true.th| |00003f00| 65 6e 20 73 65 74 20 70 | 72 6f 70 65 72 74 69 65 |en set p|ropertie| |00003f10| 73 20 6f 66 20 77 69 6e | 64 6f 77 20 70 70 20 74 |s of win|dow pp t| |00003f20| 6f 20 22 42 6f 6c 64 5f | 48 69 6c 69 74 65 3a 46 |o "Bold_|Hilite:F| |00003f30| 41 4c 53 45 22 26 43 52 | 26 22 49 74 61 6c 69 63 |ALSE"&CR|&"Italic| |00003f40| 5f 48 69 6c 69 74 65 3a | 46 41 4c 53 45 22 26 43 |_Hilite:|FALSE"&C| |00003f50| 52 26 22 55 6e 64 65 72 | 6c 69 6e 65 5f 48 69 6c |R&"Under|line_Hil| |00003f60| 69 74 65 3a 46 41 4c 53 | 45 22 26 43 52 26 22 4f |ite:FALS|E"&CR&"O| |00003f70| 75 74 6c 69 6e 65 5f 48 | 69 6c 69 74 65 3a 46 41 |utline_H|ilite:FA| |00003f80| 4c 53 45 22 26 43 52 26 | 22 53 68 61 64 6f 77 5f |LSE"&CR&|"Shadow_| |00003f90| 48 69 6c 69 74 65 3a 46 | 41 4c 53 45 22 0d 65 6c |Hilite:F|ALSE".el| |00003fa0| 73 65 20 53 65 74 20 50 | 6c 61 69 6e 5f 48 69 6c |se Set P|lain_Hil| |00003fb0| 69 74 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 50 50 |ite of w|indow PP| |00003fc0| 20 74 6f 20 54 52 55 45 | 0d 65 6c 73 65 20 69 66 | to TRUE|.else if| |00003fd0| 20 6e 6d 20 69 73 20 69 | 6e 20 22 42 6f 6c 64 2c | nm is i|n "Bold,| |00003fe0| 49 74 61 6c 69 63 2c 55 | 6e 64 65 72 6c 69 6e 65 |Italic,U|nderline| |00003ff0| 2c 4f 75 74 6c 69 6e 65 | 2c 53 68 61 64 6f 77 22 |,Outline|,Shadow"| |00004000| 20 74 68 65 6e 0d 53 65 | 74 20 50 6c 61 69 6e 5f | then.Se|t Plain_| |00004010| 48 69 6c 69 74 65 20 6f | 66 20 77 69 6e 64 6f 77 |Hilite o|f window| |00004020| 20 50 50 20 74 6f 20 77 | 73 47 65 74 28 42 42 2c | PP to w|sGet(BB,| |00004030| 49 74 65 6d 53 68 6f 77 | 6e 2c 22 50 6c 61 69 6e |ItemShow|n,"Plain| |00004040| 22 29 0d 65 6c 73 65 20 | 69 66 20 6e 6d 3d 22 46 |").else |if nm="F| |00004050| 69 6e 64 65 72 49 63 6f | 6e 22 20 74 68 65 6e 0d |inderIco|n" then.| |00004060| 73 65 74 34 69 74 65 6d | 20 2d 33 2c 74 72 75 65 |set4item| -3,true| |00004070| 0d 65 6c 73 65 20 69 66 | 20 6e 6d 3d 22 49 44 22 |.else if| nm="ID"| |00004080| 20 6f 72 20 6e 6d 3d 22 | 54 65 78 74 22 20 74 68 | or nm="|Text" th| |00004090| 65 6e 0d 53 65 74 20 4e | 61 6d 65 5f 54 65 78 74 |en.Set N|ame_Text| |000040a0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 50 50 20 74 6f | of wind|ow PP to| |000040b0| 20 77 73 47 65 74 28 42 | 42 2c 69 74 65 6d 53 68 | wsGet(B|B,itemSh| |000040c0| 6f 77 6e 2c 22 4e 61 6d | 65 22 29 0d 53 65 74 20 |own,"Nam|e").Set | |000040d0| 49 34 5f 54 65 78 74 4f | 66 53 65 6c 65 63 74 69 |I4_TextO|fSelecti| |000040e0| 6f 6e 20 6f 66 20 77 69 | 6e 64 6f 77 20 50 50 20 |on of wi|ndow PP | |000040f0| 74 6f 20 28 63 68 61 72 | 20 31 20 74 6f 20 34 20 |to (char| 1 to 4 | |00004100| 6f 66 28 77 73 47 65 74 | 28 42 42 2c 69 74 65 6d |of(wsGet|(BB,item| |00004110| 53 68 6f 77 6e 2c 22 49 | 74 65 6d 54 79 70 65 22 |Shown,"I|temType"| |00004120| 29 26 22 20 22 29 29 26 | 26 77 73 47 65 74 28 42 |)&" "))&|&wsGet(B| |00004130| 42 2c 69 74 65 6d 53 68 | 6f 77 6e 2c 22 4e 61 6d |B,itemSh|own,"Nam| |00004140| 65 22 29 0d 65 6c 73 65 | 20 69 66 20 6e 6d 3d 22 |e").else| if nm="| |00004150| 4e 75 6d 62 65 72 22 20 | 74 68 65 6e 0d 73 65 74 |Number" |then.set| |00004160| 20 69 34 5f 54 65 78 74 | 20 6f 66 20 77 69 6e 64 | i4_Text| of wind| |00004170| 6f 77 20 70 70 20 74 6f | 20 69 74 65 6d 4c 69 73 |ow pp to| itemLis| |00004180| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 42 42 0d 65 |t of win|dow BB.e| |00004190| 6c 73 65 20 69 66 20 6e | 6d 3d 22 41 75 74 6f 53 |lse if n|m="AutoS| |000041a0| 69 7a 65 22 20 61 6e 64 | 20 76 3d 54 52 55 45 20 |ize" and| v=TRUE | |000041b0| 74 68 65 6e 0d 69 66 20 | 47 72 6f 77 49 74 65 6d |then.if |GrowItem| |000041c0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 42 42 3d 69 74 | of wind|ow BB=it| |000041d0| 65 6d 53 68 6f 77 6e 20 | 74 68 65 6e 0d 73 65 74 |emShown |then.set| |000041e0| 20 47 72 6f 77 49 74 65 | 6d 20 6f 66 20 77 69 6e | GrowIte|m of win| |000041f0| 64 6f 77 20 42 42 20 74 | 6f 20 30 0d 73 65 74 20 |dow BB t|o 0.set | |00004200| 47 72 6f 77 49 74 65 6d | 5f 48 69 6c 69 74 65 20 |GrowItem|_Hilite | |00004210| 6f 66 20 77 69 6e 64 6f | 77 20 50 50 20 74 6f 20 |of windo|w PP to | |00004220| 46 41 4c 53 45 0d 65 6e | 64 20 69 66 0d 65 6c 73 |FALSE.en|d if.els| |00004230| 65 20 69 66 20 6e 6d 3d | 22 47 72 6f 77 49 74 65 |e if nm=|"GrowIte| |00004240| 6d 22 20 61 6e 64 20 76 | 3d 54 52 55 45 20 74 68 |m" and v|=TRUE th| |00004250| 65 6e 0d 69 66 20 41 75 | 74 6f 53 69 7a 65 20 6f |en.if Au|toSize o| |00004260| 66 20 77 69 6e 64 6f 77 | 20 42 42 3d 54 52 55 45 |f window| BB=TRUE| |00004270| 20 74 68 65 6e 0d 77 73 | 53 65 74 20 42 42 2c 49 | then.ws|Set BB,I| |00004280| 74 65 6d 53 68 6f 77 6e | 2c 22 41 55 54 4f 53 49 |temShown|,"AUTOSI| |00004290| 5a 45 22 2c 46 41 4c 53 | 45 0d 73 65 74 20 41 75 |ZE",FALS|E.set Au| |000042a0| 74 6f 53 69 7a 65 5f 48 | 69 6c 69 74 65 20 6f 66 |toSize_H|ilite of| |000042b0| 20 77 69 6e 64 6f 77 20 | 50 50 20 74 6f 20 46 41 | window |PP to FA| |000042c0| 4c 53 45 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |LSE.end |if.else | |000042d0| 69 66 20 6e 6d 3d 22 53 | 63 72 69 70 74 c9 22 20 |if nm="S|cript." | |000042e0| 74 68 65 6e 0d 69 66 20 | 76 3d 6e 6d 20 74 68 65 |then.if |v=nm the| |000042f0| 6e 20 53 63 72 69 70 74 | 34 49 74 65 6d 20 42 42 |n Script|4Item BB| |00004300| 2c 69 74 65 6d 53 68 6f | 77 6e 20 65 6c 73 65 20 |,itemSho|wn else | |00004310| 73 65 74 46 6c 61 70 20 | 38 38 2c 20 28 6e 6f 74 |setFlap |88, (not| |00004320| 20 76 29 0d 65 6c 73 65 | 20 69 66 20 6e 6d 3d 22 | v).else| if nm="| |00004330| 42 61 6c 6c 6f 6f 6e c9 | 22 20 74 68 65 6e 0d 69 |Balloon.|" then.i| |00004340| 66 20 76 3d 6e 6d 20 74 | 68 65 6e 20 42 61 6c 6c |f v=nm t|hen Ball| |00004350| 6f 6f 6e 34 49 74 65 6d | 20 42 42 2c 69 74 65 6d |oon4Item| BB,item| |00004360| 53 68 6f 77 6e 20 65 6c | 73 65 20 73 65 74 46 6c |Shown el|se setFl| |00004370| 61 70 20 38 39 2c 20 28 | 6e 6f 74 20 76 29 0d 65 |ap 89, (|not v).e| |00004380| 6c 73 65 20 69 66 20 6e | 6d 3d 22 50 61 72 61 6d |lse if n|m="Param| |00004390| 73 c9 22 20 74 68 65 6e | 0d 69 66 20 76 3d 6e 6d |s." then|.if v=nm| |000043a0| 20 74 68 65 6e 20 69 6e | 4f 72 4f 75 74 20 22 50 | then in|OrOut "P| |000043b0| 61 72 61 6d 73 22 2c 22 | 50 61 72 61 6d 22 20 65 |arams","|Param" e| |000043c0| 6c 73 65 20 73 65 74 46 | 6c 61 70 20 39 36 2c 20 |lse setF|lap 96, | |000043d0| 28 6e 6f 74 20 76 29 0d | 65 6c 73 65 20 69 66 20 |(not v).|else if | |000043e0| 6e 6d 3d 22 52 65 73 75 | 6c 74 c9 22 20 74 68 65 |nm="Resu|lt." the| |000043f0| 6e 0d 69 66 20 76 3d 6e | 6d 20 74 68 65 6e 20 69 |n.if v=n|m then i| |00004400| 6e 4f 72 4f 75 74 20 22 | 52 65 73 75 6c 74 22 2c |nOrOut "|Result",| |00004410| 22 4c 69 6e 65 22 20 65 | 6c 73 65 20 73 65 74 46 |"Line" e|lse setF| |00004420| 6c 61 70 20 39 37 2c 20 | 28 6e 6f 74 20 76 29 0d |lap 97, |(not v).| |00004430| 65 6c 73 65 20 69 66 20 | 6e 6d 3d 22 4d 65 6e 75 |else if |nm="Menu| |00004440| 73 c9 22 20 74 68 65 6e | 0d 69 66 20 76 3d 6e 6d |s." then|.if v=nm| |00004450| 20 74 68 65 6e 20 67 65 | 74 20 57 69 6e 64 6f 77 | then ge|t Window| |00004460| 53 63 72 69 70 74 28 22 | 4c 6f 67 22 2c 72 65 73 |Script("|Log",res| |00004470| 6f 75 72 63 65 4c 69 73 | 74 28 22 22 2c 22 4d 45 |ourceLis|t("","ME| |00004480| 4e 55 22 2c 22 42 4f 54 | 48 22 29 2c 22 54 68 65 |NU","BOT|H"),"The| |00004490| 20 4d 65 6e 75 73 20 70 | 72 6f 70 65 72 74 79 20 | Menus p|roperty | |000044a0| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 6d 65 6e |is a lis|t of men| |000044b0| 75 20 69 64 73 20 6f 72 | 20 6e 61 6d 65 73 20 73 |u ids or| names s| |000044c0| 65 70 61 72 61 74 65 64 | 20 62 79 20 72 65 74 75 |eparated| by retu| |000044d0| 72 6e 73 2e 20 55 73 65 | 20 61 62 6f 76 65 20 66 |rns. Use| above f| |000044e0| 6f 72 20 72 65 66 65 72 | 65 6e 63 65 2e 22 2c 22 |or refer|ence.","| |000044f0| 4d 65 6e 75 73 22 29 0d | 65 6c 73 65 20 73 65 74 |Menus").|else set| |00004500| 46 6c 61 70 20 39 38 2c | 20 28 6e 6f 74 20 76 29 |Flap 98,| (not v)| |00004510| 0d 65 6c 73 65 20 69 66 | 20 22 44 69 61 6c 6f 67 |.else if| "Dialog| |00004520| 2c 57 69 6e 64 6f 77 2c | 57 69 6e 64 6f 69 64 22 |,Window,|Windoid"| |00004530| 20 63 6f 6e 74 61 69 6e | 73 20 6e 6d 20 74 68 65 | contain|s nm the| |00004540| 6e 0d 67 65 74 20 22 5f | 44 69 73 61 62 6c 65 64 |n.get "_|Disabled| |00004550| 3a 22 26 28 77 73 47 65 | 74 28 42 42 2c 22 53 74 |:"&(wsGe|t(BB,"St| |00004560| 79 6c 65 22 29 3d 22 44 | 69 61 6c 6f 67 22 29 0d |yle")="D|ialog").| |00004570| 77 73 53 65 74 20 50 50 | 2c 22 50 72 6f 70 65 72 |wsSet PP|,"Proper| |00004580| 74 69 65 73 22 2c 22 69 | 33 36 22 26 69 74 26 43 |ties","i|36"&it&C| |00004590| 52 26 22 69 33 37 22 26 | 69 74 26 43 52 26 22 69 |R&"i37"&|it&CR&"i| |000045a0| 33 38 22 26 69 74 26 43 | 52 26 22 69 33 36 5f 48 |38"&it&C|R&"i36_H| |000045b0| 49 4c 49 54 45 3a 22 26 | 77 73 47 65 74 28 42 42 |ILITE:"&|wsGet(BB| |000045c0| 2c 22 48 61 73 43 6c 6f | 73 65 42 6f 78 22 29 26 |,"HasClo|seBox")&| |000045d0| 43 52 26 22 69 33 37 5f | 48 49 4c 49 54 45 3a 22 |CR&"i37_|HILITE:"| |000045e0| 26 77 73 47 65 74 28 42 | 42 2c 22 48 61 73 5a 6f |&wsGet(B|B,"HasZo| |000045f0| 6f 6d 42 6f 78 22 29 26 | 43 52 26 22 69 33 38 5f |omBox")&|CR&"i38_| |00004600| 48 49 4c 49 54 45 3a 22 | 26 77 73 47 65 74 28 42 |HILITE:"|&wsGet(B| |00004610| 42 2c 22 48 61 73 47 72 | 6f 77 42 6f 78 22 29 0d |B,"HasGr|owBox").| |00004620| 65 6c 73 65 20 69 66 20 | 6e 6d 3d 22 53 74 79 6c |else if |nm="Styl| |00004630| 65 22 20 74 68 65 6e 0d | 69 66 20 74 79 70 65 53 |e" then.|if typeS| |00004640| 68 6f 77 6e 3d 22 4c 49 | 53 54 22 20 61 6e 64 20 |hown="LI|ST" and | |00004650| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 76 3d 22 |last cha|r of v="| |00004660| c9 22 20 74 68 65 6e 0d | 67 65 74 20 57 69 6e 64 |." then.|get Wind| |00004670| 6f 77 53 63 72 69 70 74 | 28 76 2c 77 73 47 65 74 |owScript|(v,wsGet| |00004680| 28 42 42 2c 49 74 65 6d | 53 68 6f 77 6e 2c 22 53 |(BB,Item|Shown,"S| |00004690| 54 59 4c 45 49 4e 46 4f | 22 29 29 0d 69 66 20 69 |TYLEINFO|")).if i| |000046a0| 74 ad 22 22 20 74 68 65 | 6e 20 77 73 53 65 74 20 |t."" the|n wsSet | |000046b0| 42 42 2c 49 74 65 6d 53 | 68 6f 77 6e 2c 22 53 54 |BB,ItemS|hown,"ST| |000046c0| 59 4c 45 49 4e 46 4f 22 | 2c 6c 69 6e 65 20 32 20 |YLEINFO"|,line 2 | |000046d0| 6f 66 20 69 74 0d 65 6e | 64 20 69 66 0d 65 6c 73 |of it.en|d if.els| |000046e0| 65 20 69 66 20 69 3d 39 | 31 20 6f 72 20 69 3d 39 |e if i=9|1 or i=9| |000046f0| 32 20 74 68 65 6e 0d 69 | 66 20 69 3d 39 31 20 74 |2 then.i|f i=91 t| |00004700| 68 65 6e 20 67 65 74 20 | 22 42 4c 41 43 4b 43 4f |hen get |"BLACKCO| |00004710| 4c 4f 52 22 20 65 6c 73 | 65 20 67 65 74 20 22 57 |LOR" els|e get "W| |00004720| 48 49 54 45 43 4f 4c 4f | 52 22 0d 69 66 20 76 3d |HITECOLO|R".if v=| |00004730| 32 35 37 20 74 68 65 6e | 20 70 75 74 20 61 6e 73 |257 then| put ans| |00004740| 77 65 72 43 6f 6c 6f 72 | 28 22 22 2c 77 73 47 65 |werColor|("",wsGe| |00004750| 74 28 42 42 2c 69 74 65 | 6d 53 68 6f 77 6e 2c 69 |t(BB,ite|mShown,i| |00004760| 74 29 29 20 69 6e 74 6f | 20 76 0d 69 66 20 76 ad |t)) into| v.if v.| |00004770| 22 22 20 74 68 65 6e 0d | 77 73 53 65 74 20 42 42 |"" then.|wsSet BB| |00004780| 2c 49 74 65 6d 53 68 6f | 77 6e 2c 69 74 2c 76 0d |,ItemSho|wn,it,v.| |00004790| 77 73 53 65 74 20 50 50 | 2c 69 2c 22 57 48 49 54 |wsSet PP|,i,"WHIT| |000047a0| 45 43 4f 4c 4f 52 22 2c | 76 0d 77 73 53 65 74 20 |ECOLOR",|v.wsSet | |000047b0| 50 50 2c 69 2c 22 54 45 | 58 54 22 2c 22 2c 22 26 |PP,i,"TE|XT",","&| |000047c0| 76 26 43 52 26 22 4f 74 | 68 65 72 c9 22 0d 65 6e |v&CR&"Ot|her.".en| |000047d0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end | |000047e0| 6f 75 63 68 0d 6f 6e 20 | 73 65 74 46 6c 61 70 20 |ouch.on |setFlap | |000047f0| 69 2c 76 0d 67 6c 6f 62 | 61 6c 20 50 50 2c 43 52 |i,v.glob|al PP,CR| |00004800| 0d 67 65 74 20 22 5f 48 | 69 6c 69 74 65 3a 46 41 |.get "_H|ilite:FA| |00004810| 4c 53 45 22 26 43 52 0d | 73 65 74 20 70 72 6f 70 |LSE"&CR.|set prop| |00004820| 65 72 74 69 65 73 20 6f | 66 20 77 69 6e 64 6f 77 |erties o|f window| |00004830| 20 70 70 20 74 6f 20 22 | 69 38 38 22 26 69 74 26 | pp to "|i88"&it&| |00004840| 22 69 38 39 22 26 69 74 | 26 22 69 39 36 22 26 69 |"i89"&it|&"i96"&i| |00004850| 74 26 22 69 39 37 22 26 | 69 74 26 22 69 39 38 22 |t&"i97"&|it&"i98"| |00004860| 26 69 74 26 22 69 22 26 | 69 26 22 5f 48 49 4c 49 |&it&"i"&|i&"_HILI| |00004870| 54 45 3a 22 26 76 0d 73 | 65 74 34 69 74 65 6d 20 |TE:"&v.s|et4item | |00004880| 2d 33 0d 69 66 20 76 3d | 74 72 75 65 20 74 68 65 |-3.if v=|true the| |00004890| 6e 20 77 73 53 65 74 20 | 50 50 2c 39 35 2c 22 53 |n wsSet |PP,95,"S| |000048a0| 45 4c 45 43 54 49 4f 4e | 22 2c 30 0d 65 6e 64 20 |ELECTION|",0.end | |000048b0| 73 65 74 46 6c 61 70 0d | 6f 6e 20 77 73 45 72 72 |setFlap.|on wsErr| |000048c0| 6f 72 20 77 49 44 2c 77 | 4e 61 6d 65 2c 6a 4e 6f |or wID,w|Name,jNo| |000048d0| 2c 6a 4e 6d 2c 6a 56 0d | 67 6c 6f 62 61 6c 20 43 |,jNm,jV.|global C| |000048e0| 52 0d 69 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 4b |R.if the| optionK| |000048f0| 65 79 20 69 73 20 64 6f | 77 6e 20 74 68 65 6e 20 |ey is do|wn then | |00004900| 65 78 69 74 20 77 73 45 | 72 72 6f 72 0d 67 65 74 |exit wsE|rror.get| |00004910| 20 57 69 6e 64 6f 77 53 | 63 72 69 70 74 28 22 53 | WindowS|cript("S| |00004920| 63 72 69 70 74 20 45 72 | 72 6f 72 22 2c 77 49 44 |cript Er|ror",wID| |00004930| 26 43 52 26 77 4e 61 6d | 65 26 43 52 26 6a 4e 6f |&CR&wNam|e&CR&jNo| |00004940| 26 43 52 26 6a 4e 6d 26 | 43 52 26 6a 56 2c 43 72 |&CR&jNm&|CR&jV,Cr| |00004950| 61 77 6c 28 29 29 0d 65 | 6e 64 20 77 73 45 72 72 |awl()).e|nd wsErr| |00004960| 6f 72 0d 66 75 6e 63 74 | 69 6f 6e 20 6e 65 77 53 |or.funct|ion newS| |00004970| 63 72 69 70 74 20 74 0d | 67 6c 6f 62 61 6c 20 43 |cript t.|global C| |00004980| 52 0d 70 75 74 20 22 20 | 77 64 49 44 2c 77 64 4e |R.put " |wdID,wdN| |00004990| 61 6d 65 2c 6f 62 6a 4e | 6f 2c 6f 62 6a 4e 61 6d |ame,objN|o,objNam| |000049a0| 65 2c 6f 62 6a 56 61 6c | 75 65 22 20 69 6e 74 6f |e,objVal|ue" into| |000049b0| 20 70 0d 69 66 20 74 3d | 22 57 49 4e 44 22 20 74 | p.if t=|"WIND" t| |000049c0| 68 65 6e 0d 70 75 74 20 | 43 52 26 22 65 6c 73 65 |hen.put |CR&"else| |000049d0| 20 69 66 20 6f 62 6a 56 | 61 6c 75 65 3d 22 26 71 | if objV|alue="&q| |000049e0| 75 6f 74 65 20 69 6e 74 | 6f 20 61 6c 74 0d 67 65 |uote int|o alt.ge| |000049f0| 74 20 22 2d 2d 6f 6e 20 | 77 69 6e 64 6f 77 45 76 |t "--on |windowEv| |00004a00| 65 6e 74 22 26 26 70 26 | 43 52 20 c2 0d 26 43 52 |ent"&&p&|CR ..&CR| |00004a10| 26 22 69 66 20 6f 62 6a | 56 61 6c 75 65 3d 22 26 |&"if obj|Value="&| |00004a20| 71 75 6f 74 65 26 22 4f | 70 65 6e 22 26 71 75 6f |quote&"O|pen"&quo| |00004a30| 74 65 26 22 20 74 68 65 | 6e 20 22 26 43 52 20 c2 |te&" the|n "&CR .| |00004a40| 0d 26 61 6c 74 26 22 43 | 6c 6f 73 65 22 26 71 75 |.&alt&"C|lose"&qu| |00004a50| 6f 74 65 26 22 20 74 68 | 65 6e 20 22 26 43 52 20 |ote&" th|en "&CR | |00004a60| c2 0d 26 61 6c 74 26 22 | 53 75 73 70 65 6e 64 22 |..&alt&"|Suspend"| |00004a70| 26 71 75 6f 74 65 26 22 | 20 74 68 65 6e 20 22 26 |"e&"| then "&| |00004a80| 43 52 20 c2 0d 26 61 6c | 74 26 22 52 65 73 75 6d |CR ..&al|t&"Resum| |00004a90| 65 22 26 71 75 6f 74 65 | 26 22 20 74 68 65 6e 20 |e""e|&" then | |00004aa0| 22 26 43 52 20 c2 0d 26 | 61 6c 74 26 22 43 6c 6f |"&CR ..&|alt&"Clo| |00004ab0| 73 65 42 6f 78 22 26 71 | 75 6f 74 65 26 22 20 74 |seBox"&q|uote&" t| |00004ac0| 68 65 6e 20 22 26 43 52 | 20 c2 0d 26 61 6c 74 26 |hen "&CR| ..&alt&| |00004ad0| 22 5a 6f 6f 6d 42 6f 78 | 22 26 71 75 6f 74 65 26 |"ZoomBox|""e&| |00004ae0| 22 20 74 68 65 6e 20 22 | 26 43 52 20 c2 0d 26 61 |" then "|&CR ..&a| |00004af0| 6c 74 26 22 47 72 6f 77 | 42 6f 78 22 26 71 75 6f |lt&"Grow|Box"&quo| |00004b00| 74 65 26 22 20 74 68 65 | 6e 20 22 26 43 52 20 c2 |te&" the|n "&CR .| |00004b10| 0d 26 61 6c 74 26 22 54 | 69 74 6c 65 42 61 72 22 |.&alt&"T|itleBar"| |00004b20| 26 71 75 6f 74 65 26 22 | 20 74 68 65 6e 20 22 26 |"e&"| then "&| |00004b30| 43 52 20 c2 0d 26 43 52 | 26 22 65 6e 64 20 69 66 |CR ..&CR|&"end if| |00004b40| 22 26 43 52 26 43 52 26 | 22 2d 2d 65 6e 64 20 77 |"&CR&CR&|"--end w| |00004b50| 69 6e 64 6f 77 45 76 65 | 6e 74 22 0d 72 65 74 75 |indowEve|nt".retu| |00004b60| 72 6e 20 69 74 0d 65 6c | 73 65 20 69 66 20 74 3d |rn it.el|se if t=| |00004b70| 22 54 45 58 54 22 20 74 | 68 65 6e 0d 72 65 74 75 |"TEXT" t|hen.retu| |00004b80| 72 6e 20 22 2d 2d 6f 6e | 20 63 6c 6f 73 65 46 69 |rn "--on| closeFi| |00004b90| 65 6c 64 22 26 26 70 26 | 43 52 26 43 52 26 22 2d |eld"&&p&|CR&CR&"-| |00004ba0| 2d 65 6e 64 20 63 6c 6f | 73 65 46 69 65 6c 64 22 |-end clo|seField"| |00004bb0| 0d 65 6c 73 65 20 69 66 | 20 74 20 69 73 20 69 6e |.else if| t is in| |00004bc0| 20 22 42 4f 58 2c 52 42 | 4f 58 2c 4c 49 4e 45 2c | "BOX,RB|OX,LINE,| |00004bd0| 4c 42 4c 22 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |LBL" the|n.return| |00004be0| 20 22 2d 2d 6f 6e 20 6d | 6f 75 73 65 44 6f 77 6e | "--on m|ouseDown| |00004bf0| 22 26 26 70 26 43 52 26 | 43 52 26 22 2d 2d 65 6e |"&&p&CR&|CR&"--en| |00004c00| 64 20 6d 6f 75 73 65 44 | 6f 77 6e 22 0d 65 6c 73 |d mouseD|own".els| |00004c10| 65 20 72 65 74 75 72 6e | 20 22 2d 2d 6f 6e 20 6d |e return| "--on m| |00004c20| 6f 75 73 65 55 70 22 26 | 26 70 26 43 52 26 43 52 |ouseUp"&|&p&CR&CR| |00004c30| 26 22 2d 2d 65 6e 64 20 | 6d 6f 75 73 65 55 70 22 |&"--end |mouseUp"| |00004c40| 0d 65 6e 64 20 6e 65 77 | 53 63 72 69 70 74 0d 6f |.end new|Script.o| |00004c50| 6e 20 77 73 42 42 45 72 | 72 6f 72 20 62 2c 63 2c |n wsBBEr|ror b,c,| |00004c60| 64 2c 65 2c 66 0d 77 73 | 45 72 72 6f 72 20 62 2c |d,e,f.ws|Error b,| |00004c70| 63 2c 64 2c 65 2c 66 0d | 65 6e 64 20 77 73 42 42 |c,d,e,f.|end wsBB| |00004c80| 45 72 72 6f 72 0d 6f 6e | 20 64 6f 42 42 4d 65 6e |Error.on| doBBMen| |00004c90| 75 20 6e 6d 2c 76 2c 66 | 72 6f 6d 57 68 6f 0d 67 |u nm,v,f|romWho.g| |00004ca0| 6c 6f 62 61 6c 20 50 54 | 2c 50 50 2c 42 42 2c 70 |lobal PT|,PP,BB,p| |00004cb0| 74 56 69 73 0d 4d 61 6b | 65 43 6c 65 61 6e 20 42 |tVis.Mak|eClean B| |00004cc0| 42 0d 4d 61 6b 65 43 6c | 65 61 6e 20 50 50 0d 69 |B.MakeCl|ean PP.i| |00004cd0| 66 20 6e 6d 3d 74 6f 6f | 6c 73 20 74 68 65 6e 0d |f nm=too|ls then.| |00004ce0| 69 66 20 76 3d 35 31 32 | 20 74 68 65 6e 0d 73 65 |if v=512| then.se| |00004cf0| 74 20 74 6f 70 6c 65 66 | 74 20 6f 66 20 77 69 6e |t toplef|t of win| |00004d00| 64 6f 77 20 50 54 20 74 | 6f 20 69 74 65 6d 20 31 |dow PT t|o item 1| |00004d10| 20 74 6f 20 32 20 6f 66 | 20 6d 65 6e 75 69 74 65 | to 2 of| menuite| |00004d20| 6d 20 34 20 6f 66 20 6d | 65 6e 75 20 6e 6d 0d 77 |m 4 of m|enu nm.w| |00004d30| 73 53 65 74 20 50 54 2c | 22 56 49 53 49 42 4c 45 |sSet PT,|"VISIBLE| |00004d40| 22 2c 54 52 55 45 0d 70 | 75 74 20 74 72 75 65 20 |",TRUE.p|ut true | |00004d50| 69 6e 74 6f 20 70 74 56 | 69 73 0d 65 6c 73 65 20 |into ptV|is.else | |00004d60| 63 68 6f 6f 73 65 54 6f | 6f 6c 20 76 0d 65 6c 73 |chooseTo|ol v.els| |00004d70| 65 20 69 66 20 76 3d 22 | 41 62 6f 75 74 20 57 69 |e if v="|About Wi| |00004d80| 6e 64 6f 77 53 63 72 69 | 70 74 c9 22 20 74 68 65 |ndowScri|pt." the| |00004d90| 6e 20 64 6f 53 70 6c 61 | 73 68 0d 65 6c 73 65 20 |n doSpla|sh.else | |00004da0| 69 66 20 6e 6d 3d 6e 75 | 6d 74 6f 63 68 61 72 28 |if nm=nu|mtochar(| |00004db0| 32 30 29 20 61 6e 64 20 | 76 3d 31 20 74 68 65 6e |20) and |v=1 then| |00004dc0| 20 64 6f 53 70 6c 61 73 | 68 0d 65 6c 73 65 20 69 | doSplas|h.else i| |00004dd0| 66 20 76 3d 22 4e 65 77 | 20 57 69 6e 64 6f 77 22 |f v="New| Window"| |00004de0| 20 74 68 65 6e 20 64 6f | 4e 65 77 0d 65 6c 73 65 | then do|New.else| |00004df0| 20 69 66 20 76 3d 22 4f | 70 65 6e 20 57 69 6e 64 | if v="O|pen Wind| |00004e00| 6f 77 c9 22 20 74 68 65 | 6e 20 64 6f 57 69 6e 64 |ow." the|n doWind| |00004e10| 6f 77 0d 65 6c 73 65 20 | 69 66 20 76 3d 22 43 6c |ow.else |if v="Cl| |00004e20| 6f 73 65 20 57 69 6e 64 | 6f 77 22 20 74 68 65 6e |ose Wind|ow" then| |00004e30| 20 77 73 53 65 6e 64 20 | 62 62 2c 22 43 6c 6f 73 | wsSend |bb,"Clos| |00004e40| 65 22 0d 65 6c 73 65 20 | 69 66 20 76 3d 22 44 65 |e".else |if v="De| |00004e50| 6c 65 74 65 20 57 69 6e | 64 6f 77 c9 22 20 74 68 |lete Win|dow." th| |00004e60| 65 6e 20 64 6f 44 65 6c | 65 74 65 0d 65 6c 73 65 |en doDel|ete.else| |00004e70| 20 69 66 20 76 3d 22 53 | 61 76 65 20 57 69 6e 64 | if v="S|ave Wind| |00004e80| 6f 77 22 20 74 68 65 6e | 20 64 6f 53 61 76 65 0d |ow" then| doSave.| |00004e90| 65 6c 73 65 20 69 66 20 | 76 3d 22 53 61 76 65 20 |else if |v="Save | |00004ea0| 57 69 6e 64 6f 77 20 49 | 6e 74 6f c9 22 20 74 68 |Window I|nto." th| |00004eb0| 65 6e 20 64 6f 53 61 76 | 65 41 73 0d 65 6c 73 65 |en doSav|eAs.else| |00004ec0| 20 69 66 20 76 3d 22 53 | 61 76 65 20 41 73 20 44 | if v="S|ave As D| |00004ed0| 65 66 61 75 6c 74 22 20 | 74 68 65 6e 20 64 6f 44 |efault" |then doD| |00004ee0| 65 66 61 75 6c 74 0d 65 | 6c 73 65 20 69 66 20 76 |efault.e|lse if v| |00004ef0| 3d 22 49 6d 70 6f 72 74 | 20 52 65 73 6f 75 72 63 |="Import| Resourc| |00004f00| 65 c9 22 20 74 68 65 6e | 20 64 6f 49 6e 52 65 73 |e." then| doInRes| |00004f10| 0d 65 6c 73 65 20 69 66 | 20 76 3d 22 50 61 67 65 |.else if| v="Page| |00004f20| 20 53 65 74 75 70 c9 22 | 20 74 68 65 6e 20 64 6f | Setup."| then do| |00004f30| 4d 65 6e 75 20 22 50 61 | 67 65 20 53 65 74 75 70 |Menu "Pa|ge Setup| |00004f40| 2e 2e 2e 22 0d 65 6c 73 | 65 20 69 66 20 76 3d 22 |...".els|e if v="| |00004f50| 50 72 69 6e 74 20 57 69 | 6e 64 6f 77 c9 22 20 74 |Print Wi|ndow." t| |00004f60| 68 65 6e 20 64 6f 50 72 | 69 6e 74 0d 65 6c 73 65 |hen doPr|int.else| |00004f70| 20 69 66 20 76 3d 22 51 | 75 69 74 20 48 79 70 65 | if v="Q|uit Hype| |00004f80| 72 43 61 72 64 22 20 74 | 68 65 6e 20 64 6f 4d 65 |rCard" t|hen doMe| |00004f90| 6e 75 20 22 51 75 69 74 | 20 48 79 70 65 72 43 61 |nu "Quit| HyperCa| |00004fa0| 72 64 22 0d 65 6c 73 65 | 20 69 66 20 76 3d 22 44 |rd".else| if v="D| |00004fb0| 75 70 6c 69 63 61 74 65 | 22 20 74 68 65 6e 20 64 |uplicate|" then d| |00004fc0| 6f 44 75 70 0d 65 6c 73 | 65 20 69 66 20 76 3d 22 |oDup.els|e if v="| |00004fd0| 53 65 6c 65 63 74 20 41 | 6c 6c 22 20 74 68 65 6e |Select A|ll" then| |00004fe0| 20 64 6f 53 65 6c 65 63 | 74 41 6c 6c 20 66 72 6f | doSelec|tAll fro| |00004ff0| 6d 57 68 6f 0d 65 6c 73 | 65 20 69 66 20 76 3d 22 |mWho.els|e if v="| |00005000| 4d 65 73 73 61 67 65 22 | 20 74 68 65 6e 20 64 6f |Message"| then do| |00005010| 4d 73 67 0d 65 6c 73 65 | 20 69 66 20 76 3d 22 4e |Msg.else| if v="N| |00005020| 65 78 74 20 57 69 6e 64 | 6f 77 22 20 74 68 65 6e |ext Wind|ow" then| |00005030| 20 64 6f 4d 65 6e 75 20 | 22 4e 65 78 74 20 57 69 | doMenu |"Next Wi| |00005040| 6e 64 6f 77 22 0d 65 6c | 73 65 20 69 66 20 76 3d |ndow".el|se if v=| |00005050| 22 53 68 6f 77 20 49 6e | 66 6f 22 20 74 68 65 6e |"Show In|fo" then| |00005060| 20 6f 75 63 68 20 30 2c | 50 50 2c 32 2c 22 53 68 | ouch 0,|PP,2,"Sh| |00005070| 6f 77 50 72 6f 70 22 0d | 65 6c 73 65 20 69 66 20 |owProp".|else if | |00005080| 76 3d 22 48 69 64 65 20 | 49 6e 66 6f 22 20 74 68 |v="Hide |Info" th| |00005090| 65 6e 20 6f 75 63 68 20 | 30 2c 50 50 2c 32 2c 22 |en ouch |0,PP,2,"| |000050a0| 48 69 64 65 50 72 6f 70 | 22 0d 65 6c 73 65 20 69 |HideProp|".else i| |000050b0| 66 20 76 3d 22 42 72 69 | 6e 67 20 43 6c 6f 73 65 |f v="Bri|ng Close| |000050c0| 72 22 20 74 68 65 6e 20 | 64 6f 43 6c 6f 73 65 72 |r" then |doCloser| |000050d0| 0d 65 6c 73 65 20 69 66 | 20 76 3d 22 53 65 6e 64 |.else if| v="Send| |000050e0| 20 46 61 72 74 68 65 72 | 22 20 74 68 65 6e 20 64 | Farther|" then d| |000050f0| 6f 46 61 72 74 68 65 72 | 0d 65 6c 73 65 20 69 66 |oFarther|.else if| |00005100| 20 6e 6d 3d 22 47 6f 22 | 20 74 68 65 6e 0d 67 65 | nm="Go"| then.ge| |00005110| 74 20 77 73 47 65 74 28 | 76 2c 78 53 74 61 63 6b |t wsGet(|v,xStack| |00005120| 4e 61 6d 65 29 0d 69 66 | 20 69 74 ad 22 22 20 61 |Name).if| it."" a| |00005130| 6e 64 20 69 74 ad 6c 69 | 6e 65 20 31 20 6f 66 20 |nd it.li|ne 1 of | |00005140| 74 68 65 20 73 74 61 63 | 6b 73 20 74 68 65 6e 0d |the stac|ks then.| |00005150| 67 6f 20 73 74 61 63 6b | 20 69 74 0d 77 73 53 65 |go stack| it.wsSe| |00005160| 74 20 76 2c 22 56 49 53 | 49 42 4c 45 22 2c 54 52 |t v,"VIS|IBLE",TR| |00005170| 55 45 0d 65 6e 64 20 69 | 66 0d 73 65 6e 64 20 22 |UE.end i|f.send "| |00005180| 42 72 69 6e 67 54 6f 46 | 72 6f 6e 74 22 20 74 6f |BringToF|ront" to| |00005190| 20 77 69 6e 64 6f 77 20 | 76 0d 65 6c 73 65 20 69 | window |v.else i| |000051a0| 66 20 6e 6d 3d 22 46 6f | 6e 74 22 20 74 68 65 6e |f nm="Fo|nt" then| |000051b0| 20 64 6f 46 6f 6e 74 20 | 76 0d 65 6c 73 65 20 69 | doFont |v.else i| |000051c0| 66 20 6e 6d 3d 22 73 74 | 79 6c 65 22 20 74 68 65 |f nm="st|yle" the| |000051d0| 6e 20 64 6f 53 74 79 6c | 65 20 76 0d 65 6c 73 65 |n doStyl|e v.else| |000051e0| 20 69 66 20 6e 6d 3d 22 | 43 6f 6c 6f 72 22 20 74 | if nm="|Color" t| |000051f0| 68 65 6e 20 64 6f 43 6f | 6c 6f 72 20 76 0d 65 6c |hen doCo|lor v.el| |00005200| 73 65 20 69 66 20 77 6f | 72 64 20 31 20 6f 66 20 |se if wo|rd 1 of | |00005210| 76 3d 22 41 6c 69 67 6e | 22 20 74 68 65 6e 20 64 |v="Align|" then d| |00005220| 6f 41 6c 69 67 6e 20 28 | 77 6f 72 64 20 32 20 6f |oAlign (|word 2 o| |00005230| 66 20 76 29 0d 65 6c 73 | 65 20 69 66 20 76 3d 22 |f v).els|e if v="| |00005240| 47 72 69 64 22 20 74 68 | 65 6e 20 64 6f 47 72 69 |Grid" th|en doGri| |00005250| 64 0d 65 6e 64 20 64 6f | 42 42 4d 65 6e 75 0d 6f |d.end do|BBMenu.o| |00005260| 6e 20 64 6f 46 6f 6e 74 | 20 6e 6d 0d 67 6c 6f 62 |n doFont| nm.glob| |00005270| 61 6c 20 42 42 0d 67 65 | 74 20 65 64 69 74 6d 6f |al BB.ge|t editmo| |00005280| 64 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 42 42 0d |de of wi|ndow BB.| |00005290| 69 66 20 69 74 3d 22 53 | 45 4c 45 43 54 22 20 74 |if it="S|ELECT" t| |000052a0| 68 65 6e 0d 67 65 74 20 | 69 30 5f 53 65 6c 65 63 |hen.get |i0_Selec| |000052b0| 74 69 6f 6e 20 6f 66 20 | 77 69 6e 64 6f 77 20 42 |tion of |window B| |000052c0| 42 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 3d |B.repeat| with x=| |000052d0| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 69 |1 to num|ber of i| |000052e0| 74 65 6d 73 20 69 6e 20 | 69 74 0d 77 73 53 65 74 |tems in |it.wsSet| |000052f0| 20 42 42 2c 28 69 74 65 | 6d 20 78 20 6f 66 20 69 | BB,(ite|m x of i| |00005300| 74 29 2c 22 54 45 58 54 | 46 4f 4e 54 22 2c 6e 6d |t),"TEXT|FONT",nm| |00005310| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |.end rep|eat.else| |00005320| 20 69 66 20 69 74 3d 22 | 50 4c 41 59 22 20 74 68 | if it="|PLAY" th| |00005330| 65 6e 0d 73 65 74 20 53 | 45 4c 45 43 54 49 4f 4e |en.set S|ELECTION| |00005340| 46 4f 4e 54 20 6f 66 20 | 77 69 6e 64 6f 77 20 42 |FONT of |window B| |00005350| 42 20 74 6f 20 6e 6d 0d | 65 6e 64 20 69 66 0d 65 |B to nm.|end if.e| |00005360| 6e 64 20 64 6f 46 6f 6e | 74 0d 6f 6e 20 64 6f 53 |nd doFon|t.on doS| |00005370| 74 79 6c 65 20 6e 6d 0d | 67 6c 6f 62 61 6c 20 42 |tyle nm.|global B| |00005380| 42 0d 67 65 74 20 65 64 | 69 74 6d 6f 64 65 20 6f |B.get ed|itmode o| |00005390| 66 20 77 69 6e 64 6f 77 | 20 42 42 0d 69 66 20 6e |f window| BB.if n| |000053a0| 6d 3d 20 22 4f 74 68 65 | 72 2e 2e 2e 22 20 74 68 |m= "Othe|r..." th| |000053b0| 65 6e 0d 61 73 6b 20 22 | 46 6f 6e 74 53 69 7a 65 |en.ask "|FontSize| |000053c0| 3a 20 22 0d 69 66 20 69 | 74 ad 22 22 20 74 68 65 |: ".if i|t."" the| |000053d0| 6e 20 64 6f 53 74 79 6c | 65 20 69 74 20 65 6c 73 |n doStyl|e it els| |000053e0| 65 20 65 78 69 74 20 64 | 6f 53 74 79 6c 65 0d 65 |e exit d|oStyle.e| |000053f0| 6c 73 65 20 69 66 20 69 | 74 3d 22 53 45 4c 45 43 |lse if i|t="SELEC| |00005400| 54 22 20 74 68 65 6e 0d | 67 65 74 20 69 30 5f 53 |T" then.|get i0_S| |00005410| 65 6c 65 63 74 69 6f 6e | 20 6f 66 20 77 69 6e 64 |election| of wind| |00005420| 6f 77 20 42 42 0d 72 65 | 70 65 61 74 20 77 69 74 |ow BB.re|peat wit| |00005430| 68 20 78 3d 31 20 74 6f | 20 6e 75 6d 62 65 72 20 |h x=1 to| number | |00005440| 6f 66 20 69 74 65 6d 73 | 20 69 6e 20 69 74 0d 69 |of items| in it.i| |00005450| 66 20 6e 6d 20 69 73 20 | 61 6e 20 69 6e 74 65 67 |f nm is |an integ| |00005460| 65 72 20 74 68 65 6e 20 | 77 73 53 65 74 20 42 42 |er then |wsSet BB| |00005470| 2c 28 69 74 65 6d 20 78 | 20 6f 66 20 69 74 29 2c |,(item x| of it),| |00005480| 22 54 45 58 54 53 49 5a | 45 22 2c 6e 6d 20 65 6c |"TEXTSIZ|E",nm el| |00005490| 73 65 20 77 73 53 65 74 | 20 42 42 2c 28 69 74 65 |se wsSet| BB,(ite| |000054a0| 6d 20 78 20 6f 66 20 69 | 74 29 2c 6e 6d 2c 54 52 |m x of i|t),nm,TR| |000054b0| 55 45 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 44 69 |UE.end r|epeat.Di| |000054c0| 72 74 79 0d 65 6c 73 65 | 20 69 66 20 69 74 3d 22 |rty.else| if it="| |000054d0| 50 4c 41 59 22 20 74 68 | 65 6e 0d 69 66 20 6e 6d |PLAY" th|en.if nm| |000054e0| 20 69 73 20 61 6e 20 69 | 6e 74 65 67 65 72 0d 74 | is an i|nteger.t| |000054f0| 68 65 6e 20 73 65 74 20 | 53 45 4c 45 43 54 49 4f |hen set |SELECTIO| |00005500| 4e 53 49 5a 45 20 6f 66 | 20 77 69 6e 64 6f 77 20 |NSIZE of| window | |00005510| 42 42 20 74 6f 20 6e 6d | 20 65 6c 73 65 0d 73 65 |BB to nm| else.se| |00005520| 74 20 53 45 4c 45 43 54 | 49 4f 4e 53 49 5a 45 20 |t SELECT|IONSIZE | |00005530| 6f 66 20 77 69 6e 64 6f | 77 20 42 42 20 74 6f 20 |of windo|w BB to | |00005540| 2d 31 0d 77 73 53 65 74 | 20 42 42 2c 77 73 47 65 |-1.wsSet| BB,wsGe| |00005550| 74 28 42 42 2c 22 46 4f | 43 55 53 22 29 2c 6e 6d |t(BB,"FO|CUS"),nm| |00005560| 2c 54 52 55 45 0d 65 6e | 64 20 69 66 0d 44 69 72 |,TRUE.en|d if.Dir| |00005570| 74 79 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 6f |ty.end i|f.end do| |00005580| 53 74 79 6c 65 0d 6f 6e | 20 64 6f 43 6f 6c 6f 72 |Style.on| doColor| |00005590| 20 6e 6d 0d 67 6c 6f 62 | 61 6c 20 42 42 0d 67 65 | nm.glob|al BB.ge| |000055a0| 74 20 65 64 69 74 6d 6f | 64 65 20 6f 66 20 77 69 |t editmo|de of wi| |000055b0| 6e 64 6f 77 20 42 42 0d | 69 66 20 69 74 3d 22 53 |ndow BB.|if it="S| |000055c0| 45 4c 45 43 54 22 20 74 | 68 65 6e 0d 69 66 20 74 |ELECT" t|hen.if t| |000055d0| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 3d 64 6f 77 |he optio|nKey=dow| |000055e0| 6e 20 74 68 65 6e 0d 69 | 66 20 6e 6d 3d 32 35 37 |n then.i|f nm=257| |000055f0| 20 74 68 65 6e 20 70 75 | 74 20 61 6e 73 77 65 72 | then pu|t answer| |00005600| 63 6f 6c 6f 72 28 22 22 | 2c 22 2d 31 2c 2d 31 2c |color(""|,"-1,-1,| |00005610| 2d 31 22 29 20 69 6e 74 | 6f 20 6e 6d 0d 70 75 74 |-1") int|o nm.put| |00005620| 20 22 57 48 49 54 45 43 | 4f 4c 4f 52 22 20 69 6e | "WHITEC|OLOR" in| |00005630| 74 6f 20 70 0d 65 6c 73 | 65 0d 69 66 20 6e 6d 3d |to p.els|e.if nm=| |00005640| 32 35 37 20 74 68 65 6e | 20 70 75 74 20 61 6e 73 |257 then| put ans| |00005650| 77 65 72 63 6f 6c 6f 72 | 28 22 22 29 20 69 6e 74 |wercolor|("") int| |00005660| 6f 20 6e 6d 0d 70 75 74 | 20 22 42 4c 41 43 4b 43 |o nm.put| "BLACKC| |00005670| 4f 4c 4f 52 22 20 69 6e | 74 6f 20 70 0d 65 6e 64 |OLOR" in|to p.end| |00005680| 20 69 66 0d 69 66 20 6e | 6d ad 65 6d 70 74 79 20 | if.if n|m.empty | |00005690| 74 68 65 6e 0d 67 65 74 | 20 69 30 5f 53 65 6c 65 |then.get| i0_Sele| |000056a0| 63 74 69 6f 6e 20 6f 66 | 20 77 69 6e 64 6f 77 20 |ction of| window | |000056b0| 42 42 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |BB.repea|t with x| |000056c0| 3d 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 |=1 to nu|mber of | |000056d0| 69 74 65 6d 73 20 69 6e | 20 69 74 0d 77 73 53 65 |items in| it.wsSe| |000056e0| 74 20 42 42 2c 28 69 74 | 65 6d 20 78 20 6f 66 20 |t BB,(it|em x of | |000056f0| 69 74 29 2c 70 2c 6e 6d | 0d 65 6e 64 20 72 65 70 |it),p,nm|.end rep| |00005700| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |eat.end |if.else | |00005710| 69 66 20 69 74 3d 22 50 | 4c 41 59 22 20 74 68 65 |if it="P|LAY" the| |00005720| 6e 0d 69 66 20 6e 6d 3d | 32 35 37 20 74 68 65 6e |n.if nm=|257 then| |00005730| 20 70 75 74 20 61 6e 73 | 77 65 72 63 6f 6c 6f 72 | put ans|wercolor| |00005740| 28 22 22 29 20 69 6e 74 | 6f 20 6e 6d 0d 69 66 20 |("") int|o nm.if | |00005750| 6e 6d ad 22 22 20 74 68 | 65 6e 20 73 65 74 20 53 |nm."" th|en set S| |00005760| 45 4c 45 43 54 49 4f 4e | 43 4f 4c 4f 52 20 6f 66 |ELECTION|COLOR of| |00005770| 20 77 69 6e 64 6f 77 20 | 42 42 20 74 6f 20 6e 6d | window |BB to nm| |00005780| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 6f 43 6f |.end if.|end doCo| |00005790| 6c 6f 72 0d 6f 6e 20 6f | 75 63 68 42 42 20 77 49 |lor.on o|uchBB wI| |000057a0| 44 2c 77 4e 61 6d 65 2c | 69 2c 6e 6d 2c 76 0d 67 |D,wName,|i,nm,v.g| |000057b0| 6c 6f 62 61 6c 20 69 74 | 65 6d 53 68 6f 77 6e 2c |lobal it|emShown,| |000057c0| 42 42 2c 50 50 2c 50 54 | 2c 43 52 2c 67 4c 61 73 |BB,PP,PT|,CR,gLas| |000057d0| 74 57 64 2c 42 4d 2c 50 | 50 49 44 0d 69 66 20 50 |tWd,BM,P|PID.if P| |000057e0| 50 49 44 3d 22 22 20 74 | 68 65 6e 20 4d 61 6b 65 |PID="" t|hen Make| |000057f0| 50 61 6c 73 0d 69 66 20 | 69 3d 20 2d 31 20 74 68 |Pals.if |i= -1 th| |00005800| 65 6e 0d 64 6f 42 42 4d | 65 6e 75 20 6e 6d 2c 76 |en.doBBM|enu nm,v| |00005810| 0d 65 78 69 74 20 6f 75 | 63 68 42 42 0d 65 6c 73 |.exit ou|chBB.els| |00005820| 65 20 69 66 20 76 3d 22 | 53 65 6c 65 63 74 22 20 |e if v="|Select" | |00005830| 74 68 65 6e 0d 53 65 74 | 34 49 74 65 6d 20 69 0d |then.Set|4Item i.| |00005840| 65 78 69 74 20 6f 75 63 | 68 42 42 0d 65 6c 73 65 |exit ouc|hBB.else| |00005850| 20 69 66 20 76 3d 22 45 | 64 69 74 22 20 74 68 65 | if v="E|dit" the| |00005860| 6e 0d 69 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |n.if the| command| |00005870| 4b 65 79 3d 64 6f 77 6e | 20 74 68 65 6e 20 53 63 |Key=down| then Sc| |00005880| 72 69 70 74 34 49 74 65 | 6d 20 42 42 2c 69 20 65 |ript4Ite|m BB,i e| |00005890| 6c 73 65 0d 73 65 74 20 | 69 34 5f 73 65 6c 65 63 |lse.set |i4_selec| |000058a0| 74 69 6f 6e 20 6f 66 20 | 77 69 6e 64 6f 77 20 50 |tion of |window P| |000058b0| 50 20 74 6f 20 69 2b 31 | 0d 6f 75 63 68 20 30 2c |P to i+1|.ouch 0,| |000058c0| 50 50 2c 32 2c 22 53 68 | 6f 77 50 72 6f 70 22 0d |PP,2,"Sh|owProp".| |000058d0| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 69 66 20 76 |end if.e|lse if v| |000058e0| 3d 22 44 72 61 67 22 20 | 74 68 65 6e 0d 69 66 20 |="Drag" |then.if | |000058f0| 69 3d 69 74 65 6d 53 68 | 6f 77 6e 20 74 68 65 6e |i=itemSh|own then| |00005900| 20 73 65 74 20 54 6f 70 | 4c 65 66 74 5f 54 65 78 | set Top|Left_Tex| |00005910| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 50 50 20 74 |t of win|dow PP t| |00005920| 6f 20 77 73 47 65 74 28 | 42 42 2c 69 74 65 6d 53 |o wsGet(|BB,itemS| |00005930| 68 6f 77 6e 2c 22 54 6f | 70 4c 65 66 74 22 29 0d |hown,"To|pLeft").| |00005940| 44 69 72 74 79 0d 65 78 | 69 74 20 6f 75 63 68 42 |Dirty.ex|it ouchB| |00005950| 42 0d 65 6c 73 65 20 69 | 66 20 76 3d 22 52 65 73 |B.else i|f v="Res| |00005960| 69 7a 65 22 20 74 68 65 | 6e 0d 69 66 20 69 3d 69 |ize" the|n.if i=i| |00005970| 74 65 6d 53 68 6f 77 6e | 20 74 68 65 6e 0d 73 65 |temShown| then.se| |00005980| 74 20 70 72 6f 70 65 72 | 74 69 65 73 20 6f 66 20 |t proper|ties of | |00005990| 77 69 6e 64 6f 77 20 50 | 50 20 c2 0d 74 6f 20 22 |window P|P ..to "| |000059a0| 54 6f 70 4c 65 66 74 5f | 54 65 78 74 3a 20 22 26 |TopLeft_|Text: "&| |000059b0| 77 73 47 65 74 28 42 42 | 2c 69 74 65 6d 53 68 6f |wsGet(BB|,itemSho| |000059c0| 77 6e 2c 22 54 6f 70 4c | 65 66 74 22 29 c2 0d 26 |wn,"TopL|eft")..&| |000059d0| 43 52 26 22 48 65 69 67 | 68 74 5f 54 65 78 74 3a |CR&"Heig|ht_Text:| |000059e0| 20 22 26 77 73 47 65 74 | 28 42 42 2c 69 74 65 6d | "&wsGet|(BB,item| |000059f0| 53 68 6f 77 6e 2c 22 48 | 65 69 67 68 74 22 29 c2 |Shown,"H|eight").| |00005a00| 0d 26 43 52 26 22 57 69 | 64 74 68 5f 54 65 78 74 |.&CR&"Wi|dth_Text| |00005a10| 3a 20 22 26 77 73 47 65 | 74 28 42 42 2c 69 74 65 |: "&wsGe|t(BB,ite| |00005a20| 6d 53 68 6f 77 6e 2c 22 | 57 69 64 74 68 22 29 0d |mShown,"|Width").| |00005a30| 44 69 72 74 79 0d 65 6e | 64 20 69 66 0d 65 6c 73 |Dirty.en|d if.els| |00005a40| 65 20 69 66 20 76 3d 22 | 52 65 73 75 6d 65 22 20 |e if v="|Resume" | |00005a50| 74 68 65 6e 0d 70 75 74 | 20 77 4e 61 6d 65 20 69 |then.put| wName i| |00005a60| 6e 74 6f 20 67 4c 61 73 | 74 57 64 0d 69 66 20 77 |nto gLas|tWd.if w| |00005a70| 4e 61 6d 65 ad 42 42 20 | 74 68 65 6e 0d 70 75 74 |Name.BB |then.put| |00005a80| 20 77 4e 61 6d 65 20 69 | 6e 74 6f 20 42 42 0d 53 | wName i|nto BB.S| |00005a90| 65 74 34 49 74 65 6d 20 | 2d 31 2c 54 52 55 45 0d |et4Item |-1,TRUE.| |00005aa0| 43 68 6f 6f 73 65 54 6f | 6f 6c 0d 65 6e 64 20 69 |ChooseTo|ol.end i| |00005ab0| 66 0d 6d 65 6e 75 53 65 | 74 20 22 47 6f 22 2c 77 |f.menuSe|t "Go",w| |00005ac0| 4e 61 6d 65 2c 22 43 48 | 45 43 4b 4d 41 52 4b 22 |Name,"CH|ECKMARK"| |00005ad0| 2c 54 52 55 45 0d 73 68 | 6f 77 48 69 64 65 50 61 |,TRUE.sh|owHidePa| |00005ae0| 6c 73 20 54 52 55 45 0d | 65 6c 73 65 20 69 66 20 |ls TRUE.|else if | |00005af0| 76 3d 22 53 75 73 70 65 | 6e 64 22 20 74 68 65 6e |v="Suspe|nd" then| |00005b00| 0d 6d 65 6e 75 53 65 74 | 20 22 47 6f 22 2c 77 4e |.menuSet| "Go",wN| |00005b10| 61 6d 65 2c 22 43 48 45 | 43 4b 4d 41 52 4b 22 2c |ame,"CHE|CKMARK",| |00005b20| 46 41 4c 53 45 0d 69 66 | 20 67 4c 61 73 74 57 64 |FALSE.if| gLastWd| |00005b30| 3d 22 22 20 6f 72 20 77 | 4e 61 6d 65 3d 67 4c 61 |="" or w|Name=gLa| |00005b40| 73 74 57 64 20 74 68 65 | 6e 0d 73 68 6f 77 48 69 |stWd the|n.showHi| |00005b50| 64 65 50 61 6c 73 20 46 | 41 4c 53 45 0d 70 75 74 |dePals F|ALSE.put| |00005b60| 20 22 22 20 69 6e 74 6f | 20 42 42 0d 65 6e 64 20 | "" into| BB.end | |00005b70| 69 66 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 67 |if.put "|" into g| |00005b80| 4c 61 73 74 57 64 0d 65 | 6c 73 65 20 69 66 20 76 |LastWd.e|lse if v| |00005b90| 3d 22 43 75 74 22 20 74 | 68 65 6e 0d 67 65 74 20 |="Cut" t|hen.get | |00005ba0| 77 73 44 65 73 63 72 69 | 62 65 28 77 4e 61 6d 65 |wsDescri|be(wName| |00005bb0| 2c 2d 39 39 39 29 0d 73 | 65 6e 64 20 22 44 45 4c |,-999).s|end "DEL| |00005bc0| 45 54 45 53 45 4c 45 43 | 54 45 44 22 20 74 6f 20 |ETESELEC|TED" to | |00005bd0| 77 69 6e 64 6f 77 20 77 | 4e 61 6d 65 0d 53 65 74 |window w|Name.Set| |00005be0| 34 49 74 65 6d 20 20 2d | 32 2c 54 52 55 45 0d 44 |4Item -|2,TRUE.D| |00005bf0| 69 72 74 79 0d 65 6c 73 | 65 20 69 66 20 76 3d 22 |irty.els|e if v="| |00005c00| 43 6c 6f 6e 65 22 20 74 | 68 65 6e 0d 73 65 74 20 |Clone" t|hen.set | |00005c10| 50 72 6f 70 65 72 74 69 | 65 73 20 6f 66 20 77 69 |Properti|es of wi| |00005c20| 6e 64 6f 77 20 42 42 20 | 74 6f 20 77 73 44 65 73 |ndow BB |to wsDes| |00005c30| 63 72 69 62 65 28 77 4e | 61 6d 65 2c 2d 39 39 39 |cribe(wN|ame,-999| |00005c40| 39 29 0d 53 65 74 34 49 | 74 65 6d 20 2d 32 2c 54 |9).Set4I|tem -2,T| |00005c50| 52 55 45 0d 44 69 72 74 | 79 0d 65 6c 73 65 20 69 |RUE.Dirt|y.else i| |00005c60| 66 20 76 3d 22 43 6f 70 | 79 22 20 74 68 65 6e 0d |f v="Cop|y" then.| |00005c70| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa| |00005c80| 74 63 68 0d 67 65 74 20 | 77 73 44 65 73 63 72 69 |tch.get |wsDescri| |00005c90| 62 65 28 77 4e 61 6d 65 | 2c 2d 39 39 39 29 0d 65 |be(wName|,-999).e| |00005ca0| 6c 73 65 20 69 66 20 76 | 3d 22 50 61 73 74 65 22 |lse if v|="Paste"| |00005cb0| 20 74 68 65 6e 0d 63 6c | 69 70 32 72 65 73 6f 75 | then.cl|ip2resou| |00005cc0| 72 63 65 20 28 76 61 6c | 75 65 20 6f 66 20 77 6f |rce (val|ue of wo| |00005cd0| 72 64 20 32 20 6f 66 20 | 6c 6f 6e 67 20 6e 61 6d |rd 2 of |long nam| |00005ce0| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 29 |e of thi|s stack)| |00005cf0| 0d 70 75 74 20 74 68 65 | 20 72 65 73 75 6c 74 20 |.put the| result | |00005d00| 69 6e 74 6f 20 67 43 6c | 69 70 0d 69 66 20 77 6f |into gCl|ip.if wo| |00005d10| 72 64 20 32 20 6f 66 20 | 67 43 6c 69 70 20 69 73 |rd 2 of |gClip is| |00005d20| 20 6e 6f 74 20 61 6e 20 | 69 6e 74 65 67 65 72 20 | not an |integer | |00005d30| 74 68 65 6e 0d 69 66 20 | 67 43 6c 69 70 3d 22 22 |then.if |gClip=""| |00005d40| 20 74 68 65 6e 20 67 65 | 74 20 22 4e 6f 74 68 69 | then ge|t "Nothi| |00005d50| 6e 67 20 74 6f 20 70 61 | 73 74 65 2e 22 20 65 6c |ng to pa|ste." el| |00005d60| 73 65 20 67 65 74 20 22 | 54 72 6f 75 62 6c 65 20 |se get "|Trouble | |00005d70| 70 61 73 74 69 6e 67 3a | 20 22 26 26 67 43 6c 69 |pasting:| "&&gCli| |00005d80| 70 0d 53 74 6f 70 41 6c | 65 72 74 20 69 74 0d 65 |p.StopAl|ert it.e| |00005d90| 6c 73 65 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 |lse.if w|ord 1 of| |00005da0| 20 67 43 6c 69 70 3d 22 | 54 45 58 54 22 0d 74 68 | gClip="|TEXT".th| |00005db0| 65 6e 20 69 66 20 77 6f | 72 64 20 33 20 6f 66 20 |en if wo|rd 3 of | |00005dc0| 67 43 6c 69 70 3d 22 49 | 74 65 6d 54 79 70 65 3a |gClip="I|temType:| |00005dd0| 22 20 74 68 65 6e 20 70 | 75 74 20 63 68 61 72 20 |" then p|ut char | |00005de0| 38 20 74 6f 20 33 32 37 | 36 37 20 6f 66 20 67 43 |8 to 327|67 of gC| |00005df0| 6c 69 70 20 69 6e 74 6f | 20 70 32 53 65 74 0d 65 |lip into| p2Set.e| |00005e00| 6c 73 65 20 70 75 74 20 | 22 49 74 65 6d 54 79 70 |lse put |"ItemTyp| |00005e10| 65 3a 20 54 45 58 54 22 | 26 43 52 26 22 54 45 58 |e: TEXT"|&CR&"TEX| |00005e20| 54 3a 20 22 26 73 63 72 | 75 6e 63 68 28 63 68 61 |T: "&scr|unch(cha| |00005e30| 72 20 38 20 74 6f 20 33 | 32 37 36 37 20 6f 66 20 |r 8 to 3|2767 of | |00005e40| 67 43 6c 69 70 29 26 43 | 52 26 22 41 64 6a 75 73 |gClip)&C|R&"Adjus| |00005e50| 74 53 69 7a 65 22 20 69 | 6e 74 6f 20 70 32 53 65 |tSize" i|nto p2Se| |00005e60| 74 0d 65 6c 73 65 20 70 | 75 74 20 22 49 74 65 6d |t.else p|ut "Item| |00005e70| 54 79 70 65 3a 20 22 26 | 28 77 6f 72 64 20 31 20 |Type: "&|(word 1 | |00005e80| 6f 66 20 67 43 6c 69 70 | 29 26 43 52 26 22 49 44 |of gClip|)&CR&"ID| |00005e90| 3a 20 22 26 28 77 6f 72 | 64 20 32 20 6f 66 20 67 |: "&(wor|d 2 of g| |00005ea0| 43 6c 69 70 29 26 43 52 | 26 22 41 64 6a 75 73 74 |Clip)&CR|&"Adjust| |00005eb0| 53 69 7a 65 22 20 69 6e | 74 6f 20 70 32 53 65 74 |Size" in|to p2Set| |00005ec0| 0d 73 65 74 20 50 72 6f | 70 65 72 74 69 65 73 20 |.set Pro|perties | |00005ed0| 6f 66 20 77 69 6e 64 6f | 77 20 42 42 20 74 6f 20 |of windo|w BB to | |00005ee0| 70 32 53 65 74 0d 53 65 | 74 34 49 74 65 6d 20 2d |p2Set.Se|t4Item -| |00005ef0| 32 2c 54 52 55 45 0d 43 | 68 6f 6f 73 65 54 6f 6f |2,TRUE.C|hooseToo| |00005f00| 6c 20 22 53 45 4c 45 43 | 54 22 0d 44 69 72 74 79 |l "SELEC|T".Dirty| |00005f10| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 69 66 20 |.end if.|else if | |00005f20| 76 3d 22 43 6c 65 61 72 | 22 20 74 68 65 6e 0d 73 |v="Clear|" then.s| |00005f30| 65 6e 64 20 22 44 45 4c | 45 54 45 53 45 4c 45 43 |end "DEL|ETESELEC| |00005f40| 54 45 44 22 20 74 6f 20 | 77 69 6e 64 6f 77 20 77 |TED" to |window w| |00005f50| 4e 61 6d 65 0d 53 65 74 | 34 49 74 65 6d 20 2d 31 |Name.Set|4Item -1| |00005f60| 2c 54 52 55 45 0d 44 69 | 72 74 79 0d 65 6c 73 65 |,TRUE.Di|rty.else| |00005f70| 20 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 76 3d | if word| 1 of v=| |00005f80| 22 4d 61 6b 65 22 20 74 | 68 65 6e 0d 67 65 74 20 |"Make" t|hen.get | |00005f90| 4e 65 77 49 74 65 6d 44 | 65 73 63 28 77 6f 72 64 |NewItemD|esc(word| |00005fa0| 20 32 20 6f 66 20 76 29 | 0d 69 66 20 69 74 ad 22 | 2 of v)|.if it."| |00005fb0| 22 20 74 68 65 6e 0d 73 | 65 74 20 50 72 6f 70 65 |" then.s|et Prope| |00005fc0| 72 74 69 65 73 20 6f 66 | 20 77 69 6e 64 6f 77 20 |rties of| window | |00005fd0| 42 42 20 74 6f 20 69 74 | 26 43 52 26 22 41 64 6a |BB to it|&CR&"Adj| |00005fe0| 75 73 74 53 69 7a 65 22 | 0d 69 66 20 74 68 65 72 |ustSize"|.if ther| |00005ff0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 50 54 |e is a w|indow PT| |00006000| 20 74 68 65 6e 20 43 68 | 6f 6f 73 65 54 6f 6f 6c | then Ch|ooseTool| |00006010| 20 22 53 45 4c 45 43 54 | 22 0d 44 69 72 74 79 0d | "SELECT|".Dirty.| |00006020| 53 65 74 34 49 74 65 6d | 20 2d 32 2c 54 52 55 45 |Set4Item| -2,TRUE| |00006030| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 69 66 20 |.end if.|else if | |00006040| 76 3d 22 4f 70 65 6e 22 | 20 74 68 65 6e 0d 67 65 |v="Open"| then.ge| |00006050| 74 20 6d 65 6e 75 47 65 | 74 28 22 47 6f 22 2c 31 |t menuGe|t("Go",1| |00006060| 2c 22 4e 41 4d 45 22 29 | 0d 6d 65 6e 75 53 65 74 |,"NAME")|.menuSet| |00006070| 20 22 47 6f 22 2c 31 2c | 22 4e 41 4d 45 22 2c 77 | "Go",1,|"NAME",w| |00006080| 4e 61 6d 65 26 43 52 26 | 69 74 0d 65 6c 73 65 20 |Name&CR&|it.else | |00006090| 69 66 20 76 3d 22 43 6c | 6f 73 65 22 20 74 68 65 |if v="Cl|ose" the| |000060a0| 6e 0d 69 66 20 78 44 69 | 72 74 20 6f 66 20 77 69 |n.if xDi|rt of wi| |000060b0| 6e 64 6f 77 20 77 4e 61 | 6d 65 3d 74 72 75 65 20 |ndow wNa|me=true | |000060c0| 74 68 65 6e 0d 67 65 74 | 20 78 4f 72 67 4e 61 6d |then.get| xOrgNam| |000060d0| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 77 4e 61 6d |e of win|dow wNam| |000060e0| 65 0d 69 66 20 69 74 3d | 22 22 20 74 68 65 6e 20 |e.if it=|"" then | |000060f0| 67 65 74 20 22 54 68 65 | 20 77 69 6e 64 6f 77 20 |get "The| window | |00006100| d2 22 26 77 4e 61 6d 65 | 26 22 d3 20 68 61 73 20 |."&wName|&". has | |00006110| 6e 6f 74 20 62 65 65 6e | 20 73 61 76 65 64 2e 22 |not been| saved."| |00006120| 0d 65 6c 73 65 20 67 65 | 74 20 22 43 68 61 6e 67 |.else ge|t "Chang| |00006130| 65 73 20 74 6f 20 d2 22 | 26 77 4e 61 6d 65 26 22 |es to ."|&wName&"| |00006140| d3 20 68 61 76 65 20 6e | 6f 74 20 62 65 65 6e 20 |. have n|ot been | |00006150| 73 61 76 65 64 2e 22 0d | 67 65 74 20 6c 69 6e 65 |saved.".|get line| |00006160| 20 31 20 6f 66 20 57 69 | 6e 64 6f 77 53 63 72 69 | 1 of Wi|ndowScri| |00006170| 70 74 28 22 53 61 76 65 | 72 22 2c 69 74 26 26 22 |pt("Save|r",it&&"| |00006180| 20 53 61 76 65 20 62 65 | 66 6f 72 65 20 63 6c 6f | Save be|fore clo| |00006190| 73 69 6e 67 3f 22 29 0d | 69 66 20 69 74 3d 22 53 |sing?").|if it="S| |000061a0| 61 76 65 22 20 74 68 65 | 6e 20 64 6f 53 61 76 65 |ave" the|n doSave| |000061b0| 0d 65 6c 73 65 20 69 66 | 20 69 74 3d 22 22 20 74 |.else if| it="" t| |000061c0| 68 65 6e 20 72 65 74 75 | 72 6e 20 22 44 6f 6e 74 |hen retu|rn "Dont| |000061d0| 20 63 6c 6f 73 65 21 22 | 0d 65 6e 64 20 69 66 0d | close!"|.end if.| |000061e0| 67 65 74 20 74 68 65 20 | 77 69 6e 64 6f 77 73 0d |get the |windows.| |000061f0| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 3d 6e 75 |repeat w|ith x=nu| |00006200| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in| |00006210| 20 69 74 20 64 6f 77 6e | 20 74 6f 20 39 0d 70 75 | it down| to 9.pu| |00006220| 74 20 6c 69 6e 65 20 78 | 20 6f 66 20 69 74 20 69 |t line x| of it i| |00006230| 6e 74 6f 20 77 4e 6d 0d | 69 66 20 77 73 47 65 74 |nto wNm.|if wsGet| |00006240| 28 77 4e 6d 2c 22 78 4f | 77 6e 65 72 49 44 22 29 |(wNm,"xO|wnerID")| |00006250| 3d 77 49 44 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |=wID the|n close | |00006260| 77 69 6e 64 6f 77 20 77 | 4e 6d 0d 65 6e 64 20 72 |window w|Nm.end r| |00006270| 65 70 65 61 74 0d 6d 65 | 6e 75 53 65 74 20 22 47 |epeat.me|nuSet "G| |00006280| 6f 22 2c 77 4e 61 6d 65 | 2c 22 4e 41 4d 45 22 2c |o",wName|,"NAME",| |00006290| 22 22 0d 77 73 53 65 74 | 20 77 4e 61 6d 65 2c 22 |"".wsSet| wName,"| |000062a0| 56 49 53 49 42 4c 45 22 | 2c 46 41 4c 53 45 0d 70 |VISIBLE"|,FALSE.p| |000062b0| 75 74 20 22 22 20 69 6e | 74 6f 20 67 4c 61 73 74 |ut "" in|to gLast| |000062c0| 57 64 0d 69 66 20 62 62 | 3d 22 22 20 74 68 65 6e |Wd.if bb|="" then| |000062d0| 0d 62 6d 50 75 74 20 22 | 22 0d 65 6e 64 20 69 66 |.bmPut "|".end if| |000062e0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6f 75 63 68 |.end if.|end ouch| |000062f0| 42 42 0d 6f 6e 20 62 61 | 6c 6c 6f 6f 6e 34 49 74 |BB.on ba|lloon4It| |00006300| 65 6d 20 77 4e 6d 2c 69 | 0d 67 6c 6f 62 61 6c 20 |em wNm,i|.global | |00006310| 42 42 2c 50 50 2c 69 74 | 65 6d 53 68 6f 77 6e 2c |BB,PP,it|emShown,| |00006320| 74 79 70 65 53 68 6f 77 | 6e 0d 67 65 74 20 57 69 |typeShow|n.get Wi| |00006330| 6e 64 6f 77 53 63 72 69 | 70 74 28 22 42 61 6c 6c |ndowScri|pt("Ball| |00006340| 6f 6f 6e 22 2c 77 73 47 | 65 74 28 77 4e 6d 2c 69 |oon",wsG|et(wNm,i| |00006350| 2c 22 42 61 6c 6c 6f 6f | 6e 22 29 29 0d 69 66 20 |,"Balloo|n")).if | |00006360| 69 74 ad 22 22 20 74 68 | 65 6e 0d 77 73 53 65 74 |it."" th|en.wsSet| |00006370| 20 77 4e 6d 2c 69 2c 22 | 42 61 6c 6c 6f 6f 6e 22 | wNm,i,"|Balloon"| |00006380| 2c 6c 69 6e 65 20 32 20 | 74 6f 20 39 39 20 6f 66 |,line 2 |to 99 of| |00006390| 20 69 74 0d 69 66 20 77 | 4e 6d 3d 42 42 20 61 6e | it.if w|Nm=BB an| |000063a0| 64 20 69 3d 69 74 65 6d | 53 68 6f 77 6e 20 61 6e |d i=item|Shown an| |000063b0| 64 20 74 79 70 65 53 68 | 6f 77 6e 3d 22 42 61 6c |d typeSh|own="Bal| |000063c0| 6c 6f 6f 6e 22 0d 74 68 | 65 6e 20 73 65 74 20 62 |loon".th|en set b| |000063d0| 61 6c 6c 6f 6f 6e 5f 54 | 45 58 54 20 6f 66 20 77 |alloon_T|EXT of w| |000063e0| 69 6e 64 6f 77 20 50 50 | 20 74 6f 20 6c 69 6e 65 |indow PP| to line| |000063f0| 20 32 20 74 6f 20 39 39 | 20 6f 66 20 69 74 0d 65 | 2 to 99| of it.e| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.